mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
j3rry's fix for the error class.
This commit is contained in:
parent
2969ec1875
commit
24944500f2
@ -46,7 +46,7 @@
|
|||||||
$parray = array($parms['p1'],$parms['p2'],$parms['p3'],$parms['p4'],$parms['p5'],$parms['p6'],$parms['p7'],$parms['p8'],$parms['p9'],$parms['p10']);
|
$parray = array($parms['p1'],$parms['p2'],$parms['p3'],$parms['p4'],$parms['p5'],$parms['p6'],$parms['p7'],$parms['p8'],$parms['p9'],$parms['p10']);
|
||||||
$fname = $parms['file'];
|
$fname = $parms['file'];
|
||||||
$line = $parms['line'];
|
$line = $parms['line'];
|
||||||
if (eregi('([DIWEF])-(.*)[\,](.*)',$etext,$match))
|
if (eregi('([DIWEF])-([[:alnum:]]*)\,(.*)',$etext,$match))
|
||||||
{
|
{
|
||||||
$this->severity = strtoupper($match[1]);
|
$this->severity = strtoupper($match[1]);
|
||||||
$this->code = $match[2];
|
$this->code = $match[2];
|
||||||
|
Loading…
Reference in New Issue
Block a user