]> git.mxchange.org Git - friendica.git/commitdiff
spaces added according code convention and CR + fixed tzpo in function name (opps)
authorRoland Haeder <roland@mxchange.org>
Thu, 30 Mar 2017 18:22:03 +0000 (20:22 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 30 Mar 2017 18:22:40 +0000 (20:22 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
boot.php

index c9d3045cad3633b0639ad7424fb7d64853eb52be..3bf85b14f4b4c9876bbd7e3f00d4db0ed8ba8ce1 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -699,10 +699,10 @@ class App {
                        // removing trailing / - maybe a nginx problem
                        $this->query_string = lrim($this->query_string, '/');
                } elseif ((x($_SERVER, 'QUERY_STRING')) && substr($_SERVER['QUERY_STRING'], 0, 2) === "q=") {
-                       $this->query_string = substr($_SERVER['QUERY_STRING'],2);
+                       $this->query_string = substr($_SERVER['QUERY_STRING'], 2);
 
                        // removing trailing / - maybe a nginx problem
-                       $this->query_string = lrim($this->query_string, '/');
+                       $this->query_string = ltrim($this->query_string, '/');
                }
 
                if (x($_GET, 'pagename')) {