Permalink
Browse files

bug 2953 fixed: ['QUERY_STRING'] is not alway set

git-svn-id: http://piwigo.org/svn/trunk@25930 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information...
plegall committed Dec 12, 2013
1 parent 483cce2 commit 04230f054776c4a6b1c28ddcc1a2e302be96d6e8
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin.php
@@ -103,7 +103,7 @@
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']).'&';
}

0 comments on commit 04230f0

Please sign in to comment.