Index: trunk/extensions/FundraiserLandingPage/FundraiserRedirector.body.php |
— | — | @@ -32,14 +32,14 @@ |
33 | 33 | $country = $wgFundraiserLPDefaults[ 'country' ]; |
34 | 34 | } |
35 | 35 | |
36 | | - $params = "country=$country"; |
| 36 | + $params = array( 'country' => $country ); |
37 | 37 | |
38 | 38 | // Pass any other params that are set |
39 | 39 | $excludeKeys = array( 'country', 'title' ); |
40 | 40 | foreach ( $wgRequest->getValues() as $key => $value ) { |
41 | 41 | // Skip the required variables |
42 | 42 | if ( !in_array( $key, $excludeKeys ) ) { |
43 | | - $params .= '&'."$key=$value"; |
| 43 | + $params[$key] = $value; |
44 | 44 | } |
45 | 45 | } |
46 | 46 | |