aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/input.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/input.php')
-rw-r--r--engine/lib/input.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/input.php b/engine/lib/input.php
index a4ab696cc..89bab5853 100644
--- a/engine/lib/input.php
+++ b/engine/lib/input.php
@@ -190,7 +190,7 @@ function autop($pee, $br = 1) {
*/
function elgg_set_input_from_uri() {
$query = parse_url($_SERVER['REQUEST_URI'], PHP_URL_QUERY);
- elgg_parse_str($query, $query_arr);
+ $query_arr = elgg_parse_str($query);
if (is_array($query_arr)) {
foreach($query_arr as $name => $val) {