[Jifty-commit] r2665 - jifty/trunk/lib/Jifty/Action

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sat Jan 27 07:34:29 EST 2007


Author: audreyt
Date: Sat Jan 27 07:34:27 2007
New Revision: 2665

Modified:
   jifty/trunk/lib/Jifty/Action/Record.pm

Log:
* Er, uhm, obra++ for pointing out that I mixed up the logic in the revert.

Modified: jifty/trunk/lib/Jifty/Action/Record.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record.pm	(original)
+++ jifty/trunk/lib/Jifty/Action/Record.pm	Sat Jan 27 07:34:27 2007
@@ -346,7 +346,7 @@
 
 sub possible_fields {
     my $self = shift;
-    return map { $_->name } grep { $_->type eq "serial" } $self->record->columns;
+    return map { $_->name } grep { $_->type ne "serial" } $self->record->columns;
 }
 
 =head2 take_action


More information about the Jifty-commit mailing list