[Jifty-commit] r7250 - jifty/trunk/lib/Jifty/Plugin/REST
Jifty commits
jifty-commit at lists.jifty.org
Thu Jun 11 19:53:03 EDT 2009
Author: sartak
Date: Thu Jun 11 19:53:03 2009
New Revision: 7250
Modified:
jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm
Log:
Force values from action fields like we do for model columns
Need to refactor this duplication away somehow..
Modified: jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm Thu Jun 11 19:53:03 2009
@@ -889,7 +889,7 @@
$args{ $arg } = { };
for ( @param_attrs ) {
my $val = $arguments->{ $arg }{ $_ };
- $args{ $arg }->{ $_ } = $val
+ $args{ $arg }->{ $_ } = Scalar::Defer::force($val)
if defined $val and length $val;
}
}
More information about the Jifty-commit
mailing list