Permalink
Browse files

remove unnecessary ||= and replace with =

  • Loading branch information...
1 parent f365a0d commit 5c896165435f25fa54b81cce6e3ed7e338a5ce98 @lestrrat lestrrat committed Mar 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Plack/Request.pm
@@ -100,7 +100,7 @@ sub query_parameters {
split(/\+/, $query_string, -1);
}
}
- $env->{'plack.request.query'} ||= Hash::MultiValue->new(@query);
+ $env->{'plack.request.query'} = Hash::MultiValue->new(@query);
}
sub content {

0 comments on commit 5c89616

Please sign in to comment.