bug 2953 fixed: ['QUERY_STRING'] is not alway set
git-svn-id: http://piwigo.org/svn/trunk@25930 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
483cce2612
commit
04230f0547
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ $test_get = $_GET;
|
||||||
unset($test_get['page']);
|
unset($test_get['page']);
|
||||||
unset($test_get['section']);
|
unset($test_get['section']);
|
||||||
unset($test_get['tag']);
|
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']).'&';
|
$change_theme_url.= str_replace('&', '&', $_SERVER['QUERY_STRING']).'&';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue