mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Fix: functions "ereg", "ereg_replace", "eregi", "eregi_replace" is deprecated since php 5.3.0
This commit is contained in:
@@ -86,10 +86,10 @@ else
|
||||
|
||||
foreach ($cons as $cc)
|
||||
{
|
||||
$cx = ereg_replace("\) REFER", "", $cc);
|
||||
$cx = ereg_replace("\(`", "", $cx);
|
||||
$cx = ereg_replace("`\)", "", $cx);
|
||||
$cx = ereg_replace("` ", "", $cx);
|
||||
$cx = preg_replace("/\)\sREFER/", "", $cc);
|
||||
$cx = preg_replace("/\(`/", "", $cx);
|
||||
$cx = preg_replace("/`\)/", "", $cx);
|
||||
$cx = preg_replace("/`\s/", "", $cx);
|
||||
|
||||
$val = explode("`",$cx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user