aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 58c8ae137..c1d6b413a 100755
--- a/boot.php
+++ b/boot.php
@@ -878,6 +878,8 @@ class App {
// removing trailing / - maybe a nginx problem
if (substr(self::$query_string, 0, 1) == "/")
self::$query_string = substr(self::$query_string, 1);
+ // change the first & to ?
+ self::$query_string = preg_replace('/&/','?',self::$query_string,1);
}
if(x($_GET,'q'))