diff options
author | wreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-03-30 19:24:46 +0000 |
---|---|---|
committer | wreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-03-30 19:24:46 +0000 |
commit | 5873cdbf927d4aab5955801ef0e8621a32743d20 (patch) | |
tree | 186536340836a69efc707dd5a053c15e2acd7afb /lib/Reaction | |
parent | f2dffa23c8eb1566d4208c9671b7bae3c590eeb6 (diff) | |
download | reaction-5873cdbf927d4aab5955801ef0e8621a32743d20.tar.gz reaction-5873cdbf927d4aab5955801ef0e8621a32743d20.zip |
shallow copying req->params
Diffstat (limited to 'lib/Reaction')
-rw-r--r-- | lib/Reaction/UI/Window.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Reaction/UI/Window.pm b/lib/Reaction/UI/Window.pm index 5eda757..610a935 100644 --- a/lib/Reaction/UI/Window.pm +++ b/lib/Reaction/UI/Window.pm @@ -50,7 +50,7 @@ sub flush_events { foreach my $type (qw/query body/) { my $meth = "${type}_parameters"; - my $param_hash = $ctx->req->$meth; + my $param_hash = { %{$ctx->req->$meth} }; # yeah, FocusStack deletes it $self->focus_stack->apply_events($param_hash) if keys %$param_hash; } |