[Jifty-commit] r1080 - in jifty/trunk: lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu May 18 19:52:51 EDT 2006
Author: jesse
Date: Thu May 18 19:52:50 2006
New Revision: 1080
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Web.pm
Log:
r13902 at hualien: jesse | 2006-05-18 19:52:31 -0400
* arguments can be undefined, badly breaking things.
alexmv: check this for sanity?
Modified: jifty/trunk/lib/Jifty/Web.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web.pm (original)
+++ jifty/trunk/lib/Jifty/Web.pm Thu May 18 19:52:50 2006
@@ -989,7 +989,7 @@
# Arguments can be complex mapped hash values. Get their
# real values by mapping.
- my %defaults = %{$f->arguments};
+ my %defaults = %{$f->arguments || {}};
for (keys %defaults) {
my ($key, $value) = Jifty::Request::Mapper->map(destination => $_, source => $defaults{$_});
delete $defaults{$_};
More information about the Jifty-commit
mailing list