this bug 6020 was solved, To migrate ereg_replace() -> becomes preg_replace() in php 5.3

This commit is contained in:
Carlos Pacha
2011-01-21 19:51:16 +00:00
parent 4587cb3067
commit 35062c5a80
2 changed files with 3 additions and 3 deletions

View File

@@ -2171,7 +2171,7 @@ class Processes {
G::verifyPath($path, true); G::verifyPath($path, true);
} }
$proTitle = (substr(G::inflect($data->process['PRO_TITLE']), 0, 30)); $proTitle = (substr(G::inflect($data->process['PRO_TITLE']), 0, 30));
$proTitle = ereg_replace("[^A-Za-z0-9_]", "", $proTitle); $proTitle = preg_replace("[^A-Za-z0-9_]", "", $proTitle);
$index = ''; $index = '';

View File

@@ -314,7 +314,7 @@ class Xpdl extends processes
G::verifyPath($path, true); G::verifyPath($path, true);
} }
$proTitle = (substr(G::inflect($oData->process['PRO_TITLE']), 0, 30)); $proTitle = (substr(G::inflect($oData->process['PRO_TITLE']), 0, 30));
$proTitle = ereg_replace("[^A-Za-z0-9_]", "", $proTitle); $proTitle = preg_replace("[^A-Za-z0-9_]", "", $proTitle);
$index = ''; $index = '';
$lastIndex = ''; $lastIndex = '';
do { do {
@@ -3872,4 +3872,4 @@ class Xpdl extends processes
} }
} }
} }