From 765c383e21a1ca8c95ac6e91eb7cca8dc7d99bd2 Mon Sep 17 00:00:00 2001 From: Gustavo Adolfo Cruz Laura Date: Mon, 14 Feb 2011 20:37:44 +0000 Subject: [PATCH] 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. --- workflow/engine/classes/class.pmScript.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/classes/class.pmScript.php b/workflow/engine/classes/class.pmScript.php index c36f64bed..e66a51228 100644 --- a/workflow/engine/classes/class.pmScript.php +++ b/workflow/engine/classes/class.pmScript.php @@ -577,7 +577,7 @@ function handleErrors($errno, $errstr, $errfile, $errline) */ function handleFatalErrors($buffer) { - if (ereg('(error:)(.+)(:)(.+)(/', '', $regs[2]); $aAux = explode(' in ', $err); $sCode = $_SESSION['_CODE_'];