[Jifty-commit] r7248 - jifty/trunk/lib/Jifty
Jifty commits
jifty-commit at lists.jifty.org
Thu Jun 11 19:27:15 EDT 2009
Author: sartak
Date: Thu Jun 11 19:27:15 2009
New Revision: 7248
Modified:
jifty/trunk/lib/Jifty/Action.pm
Log:
Revert pulling in default value, it causes app regressions
Modified: jifty/trunk/lib/Jifty/Action.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action.pm (original)
+++ jifty/trunk/lib/Jifty/Action.pm Thu Jun 11 19:27:15 2009
@@ -403,14 +403,6 @@
$self->argument_values->{$arg} = shift;
}
- # Pull in default value if there is one
- if (!exists($self->argument_values->{$arg})) {
- if (defined(my $default = $self->arguments->{$arg}{default_value})) {
- $self->values_from_request->{$arg} = 0;
- $self->argument_values->{$arg} = $default;
- }
- }
-
# Get it
return $self->argument_values->{$arg};
}
More information about the Jifty-commit
mailing list