[Jifty-commit] r1081 - in jifty/branches/jifty-jsan: .
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu May 18 19:55:10 EDT 2006
Author: trs
Date: Thu May 18 19:55:10 2006
New Revision: 1081
Modified:
jifty/branches/jifty-jsan/ (props changed)
jifty/branches/jifty-jsan/lib/Jifty/Web.pm
Log:
r12394 at zot (orig r1080): jesse | 2006-05-18 19:52:50 -0400
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/branches/jifty-jsan/lib/Jifty/Web.pm
==============================================================================
--- jifty/branches/jifty-jsan/lib/Jifty/Web.pm (original)
+++ jifty/branches/jifty-jsan/lib/Jifty/Web.pm Thu May 18 19:55:10 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