[Jifty-commit] r5794 - in jifty/trunk: lib/Jifty/Action

Jifty commits jifty-commit at lists.jifty.org
Thu Sep 4 20:24:38 EDT 2008


Author: alexmv
Date: Thu Sep  4 20:24:13 2008
New Revision: 5794

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Action/Record.pm

Log:
 r36915 at kohr-ah:  chmrr | 2008-09-04 20:22:41 -0400
  * Quiet warnings -- columns _can_ lack a 'type' if they're virtual


Modified: jifty/trunk/lib/Jifty/Action/Record.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record.pm	(original)
+++ jifty/trunk/lib/Jifty/Action/Record.pm	Thu Sep  4 20:24:13 2008
@@ -507,7 +507,7 @@
 
 sub possible_fields {
     my $self = shift;
-    return map { $_->name } grep { $_->container or ($_->type ne "serial" and !$_->private and !$_->virtual) } $self->record->columns;
+    return map { $_->name } grep { $_->container or (!$_->private and !$_->virtual and $_->type ne "serial") } $self->record->columns;
 }
 
 =head2 take_action


More information about the Jifty-commit mailing list