From 0ac1af7300edf9d9f5df7fae75f578b8de0f7333 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 30 Mar 2017 20:22:03 +0200 Subject: [PATCH] spaces added according code convention and CR + fixed tzpo in function name (opps) Signed-off-by: Roland Haeder --- boot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot.php b/boot.php index c9d3045cad..3bf85b14f4 100644 --- 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')) { -- 2.39.5