Changeset 326

Show
Ignore:
Timestamp:
08/19/07 16:20:56 (9 months ago)
Author:
bart
Message:

Fix an E_NOTICE error in the control panel

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/ChangeLog

    r325 r326  
     12007-08-19  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
     2        * Fix an E_NOTICE error in the control panel 
     3 
    142007-08-16  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
    2        * Fix a typo in the config file. #269 
     5        * Fix a typo in the config file. #269 
    36 
    472007-08-14  Hans Rakers <hans at react.nl> 
    58 
    6        * Optimizer fix for #242. PHP-5.2.1 introduces a ZEND_JMP before a 
    7           ZEND_FETCH_CLASS/ZEND_CATCH which the optimizer did not handle 
    8           correctly, resulting in uncaught exceptions. (Thanks to warwickshaw) 
     9        * Optimizer fix for #242. PHP-5.2.1 introduces a ZEND_JMP before a 
     10              ZEND_FETCH_CLASS/ZEND_CATCH which the optimizer did not handle 
     11              correctly, resulting in uncaught exceptions. (Thanks to warwickshaw) 
    912 
    10132007-05-09  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
  • eaccelerator/trunk/control.php

    r295 r326  
    514514        // search 
    515515        function usersearch ($val) { 
    516             return preg_match('/'.preg_quote($_GET['str'], '/').'/i', $val['name']); 
     516            $str = isset($_GET['str']) ? $_GET['str'] : ''; 
     517            return preg_match('/'.preg_quote($str, '/').'/i', $val['name']); 
    517518        } 
    518519        $userkeys = array_filter($userkeys, 'usersearch');