Created
December 19, 2009 17:52
-
-
Save clkao/260167 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Plack/Middleware/Session.pm b/lib/Plack/Middleware/Session.pm | |
index dab15cb..524dcf7 100644 | |
--- a/lib/Plack/Middleware/Session.pm | |
+++ b/lib/Plack/Middleware/Session.pm | |
@@ -55,7 +55,7 @@ sub call { | |
$self->response_cb($res, sub { | |
my $res = Plack::Response->new(@{$_[0]}); | |
$env->{'plack.session'}->finalize( $res ); | |
- @{$_[0]} = @{$res->finalize}; | |
+ $res; | |
}); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment