aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-09-29 22:36:00 +0000
committerrub <rub@piwigo.org>2007-09-29 22:36:00 +0000
commiteebf7735864153d47bd6ce59470e0815e74e9b51 (patch)
tree447f631e880b7acddc38c1a26873dbd96acc3084 /include/common.inc.php
parent77c7083eec42444be783803495a3350413e2a347 (diff)
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
Diffstat (limited to '')
-rw-r--r--include/common.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 49fc70dba..f3e4f093d 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -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;
}