Changeset 5281 for trunk/phpgwapi/inc/class.error.inc.php
- Timestamp:
- 12/21/11 18:42:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.error.inc.php
r2 r5281 61 61 $fname = $parms['file']; 62 62 $line = $parms['line']; 63 if ( eregi('([DIWEF])-([[:alnum:]]*)\, (.*)',$etext,$match))63 if (preg_match('/([DIWEF])-([[:alnum:]]*)\, (.*)/i',$etext,$match)) 64 64 { 65 65 $this->severity = strtoupper($match[1]);
Note: See TracChangeset
for help on using the changeset viewer.