[Jifty-commit] r1387 - in jifty/trunk: lib/Jifty/Action/Record
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Jun 28 12:36:14 EDT 2006
Author: alexmv
Date: Wed Jun 28 12:36:14 2006
New Revision: 1387
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Action/Record/Update.pm
Log:
r14510 at zoq-fot-pik: chmrr | 2006-06-28 12:36:10 -0400
* Use has_argument
Modified: jifty/trunk/lib/Jifty/Action/Record/Update.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record/Update.pm (original)
+++ jifty/trunk/lib/Jifty/Action/Record/Update.pm Wed Jun 28 12:36:14 2006
@@ -65,7 +65,7 @@
my $self = shift;
$self->_validate_argument($_) for grep {
- exists $self->argument_values->{$_}
+ $self->has_argument($_)
or $self->arguments->{$_}->{constructor}
} $self->argument_names;
@@ -86,7 +86,7 @@
for my $field ( $self->argument_names ) {
# Skip values that weren't submitted
- next unless exists $self->argument_values->{$field};
+ next unless $self->has_argument($field);
my $column = $self->record->column($field);
More information about the Jifty-commit
mailing list