Skip to content
This repository
Browse code

remove unnecessary ||= and replace with =

  • Loading branch information...
commit 5c896165435f25fa54b81cce6e3ed7e338a5ce98 1 parent f365a0d
lestrrat authored March 07, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/Plack/Request.pm
2  lib/Plack/Request.pm
@@ -100,7 +100,7 @@ sub query_parameters {
100 100
                 split(/\+/, $query_string, -1);
101 101
         }
102 102
     }
103  
-    $env->{'plack.request.query'} ||= Hash::MultiValue->new(@query);
  103
+    $env->{'plack.request.query'} = Hash::MultiValue->new(@query);
104 104
 }
105 105
 
106 106
 sub content {

0 notes on commit 5c89616

Please sign in to comment.
Something went wrong with that request. Please try again.