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

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Jul 10 17:44:13 EDT 2007


Author: clkao
Date: Tue Jul 10 17:44:12 2007
New Revision: 3650

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

Log:
type can be empty for container columns.

Modified: jifty/trunk/lib/Jifty/Action/Record.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record.pm	(original)
+++ jifty/trunk/lib/Jifty/Action/Record.pm	Tue Jul 10 17:44:12 2007
@@ -352,7 +352,7 @@
 
 sub possible_fields {
     my $self = shift;
-    return map { $_->name } grep { $_->type ne "serial" } $self->record->columns;
+    return map { $_->name } grep { $_->type && $_->type ne "serial" } $self->record->columns;
 }
 
 =head2 take_action


More information about the Jifty-commit mailing list