aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin.php2
1 files changed, 1 insertions, 1 deletions
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']).'&';
}