mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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:
@@ -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']).'&';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user