aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 2062cd062c..17cc109432 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2376,7 +2376,7 @@ function build_url($strip_vars = false)
$redirect = $path_helper->strip_url_params($redirect, $strip_vars, false);
}
- return $redirect;
+ return $redirect . ((strpos($redirect, '?') === false) ? '?' : '');
}
/**