this bug 6020 was solved, To migrate ereg_replace() -> becomes preg_replace() in php 5.3
This commit is contained in:
@@ -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 = '';
|
||||||
|
|||||||
@@ -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
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user