mirror of
https://github.com/dg/dibi.git
synced 2025-08-11 16:44:30 +02:00
PcreException renamed to DibiPcreException
This commit is contained in:
@@ -121,7 +121,7 @@ final class DibiTranslator extends DibiObject
|
||||
array($this, 'cb'),
|
||||
substr($arg, $toSkip)
|
||||
);
|
||||
if (preg_last_error()) throw new PcreException;
|
||||
if (preg_last_error()) throw new DibiPcreException;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
@@ -379,7 +379,7 @@ final class DibiTranslator extends DibiObject
|
||||
array($this, 'cb'),
|
||||
substr($value, $toSkip)
|
||||
);
|
||||
if (preg_last_error()) throw new PcreException;
|
||||
if (preg_last_error()) throw new DibiPcreException;
|
||||
}
|
||||
return $value;
|
||||
|
||||
|
Reference in New Issue
Block a user