[Jifty-commit] r562 -

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Feb 9 04:23:44 EST 2006


Author: jesse
Date: Thu Feb  9 04:23:43 2006
New Revision: 562

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

Log:
 r23552 at truegrounds:  jesse | 2006-02-09 04:22:25 -0500
 * We don't want to clean valid arguments just because they're not columns
 


Modified: jifty/trunk/lib/Jifty/Action/Record/Create.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record/Create.pm	(original)
+++ jifty/trunk/lib/Jifty/Action/Record/Create.pm	Thu Feb  9 04:23:43 2006
@@ -57,8 +57,7 @@
     my $record = $self->record;
 
     my %values;
-    $values{$_} = $self->argument_value($_)
-      for grep { defined $self->record->column($_) and defined $self->argument_value($_) } $self->argument_names;
+    $values{$_} = $self->argument_value($_) for grep { defined $self->argument_value($_) } $self->argument_names;
     
     my ($id) = $record->create(%values);
 


More information about the Jifty-commit mailing list