Ignore:
Timestamp:
12/21/11 18:42:14 (12 years ago)
Author:
wmerlotto
Message:

Ticket #2398 - Compatibilizando codigo do Expresso, em geral, com PHP >= 5.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.error.inc.php

    r2 r5281  
    6161                        $fname = $parms['file']; 
    6262                        $line  = $parms['line']; 
    63                         if (eregi('([DIWEF])-([[:alnum:]]*)\, (.*)',$etext,$match)) 
     63                        if (preg_match('/([DIWEF])-([[:alnum:]]*)\, (.*)/i',$etext,$match)) 
    6464                        { 
    6565                                $this->severity = strtoupper($match[1]); 
Note: See TracChangeset for help on using the changeset viewer.