Bug 6105: The replacement of the deprecated ereg function with preg_match solves the 5.3 issue, the missing class insert has been restored in a previous revision so the 5.2 issue is also fixed.
This commit is contained in:
@@ -577,7 +577,7 @@ function handleErrors($errno, $errstr, $errfile, $errline)
|
||||
*/
|
||||
function handleFatalErrors($buffer)
|
||||
{
|
||||
if (ereg('(error</b>:)(.+)(<br)', $buffer, $regs)) {
|
||||
if (preg_match('/(error<\/b>:)(.+)(<br)/', $buffer, $regs)) {
|
||||
$err = preg_replace('/<.*?>/', '', $regs[2]);
|
||||
$aAux = explode(' in ', $err);
|
||||
$sCode = $_SESSION['_CODE_'];
|
||||
|
||||
Reference in New Issue
Block a user