mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-04-30 18:42:43 +02:00
Change initialization of $filter in order to prevent of problem with some systems
Merge BSF 2110:2111 into branch-1_7 git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2112 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -113,6 +113,7 @@ $user = array();
|
||||
$lang = array();
|
||||
$header_msgs = array();
|
||||
$header_notes = array();
|
||||
$filter = array();
|
||||
|
||||
@include(PHPWG_ROOT_PATH .'include/mysql.inc.php');
|
||||
if (!defined('PHPWG_INSTALLED'))
|
||||
@@ -251,8 +252,6 @@ if (!empty($conf['filter_pages']) and get_filter_page_value('used'))
|
||||
}
|
||||
else
|
||||
{
|
||||
// global variable for filter
|
||||
$filter = array();
|
||||
$filter['enabled'] = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user