From 04230f054776c4a6b1c28ddcc1a2e302be96d6e8 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 12 Dec 2013 10:40:39 +0000 Subject: bug 2953 fixed: ['QUERY_STRING'] is not alway set git-svn-id: http://piwigo.org/svn/trunk@25930 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin.php') diff --git a/admin.php b/admin.php index de3d9a90e..675948cad 100644 --- a/admin.php +++ b/admin.php @@ -103,7 +103,7 @@ $test_get = $_GET; unset($test_get['page']); unset($test_get['section']); unset($test_get['tag']); -if (count($test_get) == 0) +if (count($test_get) == 0 and !empty($_SERVER['QUERY_STRING'])) { $change_theme_url.= str_replace('&', '&', $_SERVER['QUERY_STRING']).'&'; } -- cgit v1.2.3