projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
tests and patch for Controller to accept action_args from constructor
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Request.pm
diff --git
a/lib/Catalyst/Request.pm
b/lib/Catalyst/Request.pm
index
6610358
..
d2c1c7f
100644
(file)
--- a/
lib/Catalyst/Request.pm
+++ b/
lib/Catalyst/Request.pm
@@
-220,7
+220,7
@@
sub prepare_body_parameters {
my ( $self ) = @_;
$self->prepare_body if ! $self->_has_body;
- return unless $self->_body;
+ return {} unless $self->_body;
return $self->_body->param;
}