Changeset 2111 for trunk/include


Ignore:
Timestamp:
Sep 30, 2007, 12:36:00 AM (17 years ago)
Author:
rub
Message:

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

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/common.inc.php

    r2055 r2111  
    113113$header_msgs = array();
    114114$header_notes = array();
     115$filter = array();
    115116
    116117@include(PHPWG_ROOT_PATH .'include/mysql.inc.php');
     
    253254else
    254255{
    255   // global variable for filter
    256   $filter = array();
    257256  $filter['enabled'] = false;
    258257}
  • trunk/include/filter.inc.php

    r1912 r2111  
    2323// | USA.                                                                  |
    2424// +-----------------------------------------------------------------------+
    25 
    26 // global variable for filter
    27 $filter = array();
    2825
    2926// $filter['enabled']: Filter is enabled
Note: See TracChangeset for help on using the changeset viewer.