Change initialization of $filter in order to prevent of problem with some systems

git-svn-id: http://piwigo.org/svn/trunk@2111 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2007-09-29 22:36:00 +00:00
parent 77c7083eec
commit eebf773586
2 changed files with 1 additions and 5 deletions
+1 -2
View File
@@ -112,6 +112,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'))
@@ -252,8 +253,6 @@ if (!empty($conf['filter_pages']) and get_filter_page_value('used'))
}
else
{
// global variable for filter
$filter = array();
$filter['enabled'] = false;
}