updated: change in insert and update functions (|no_mc|)
This commit is contained in:
parent
e4ea8e1944
commit
a728a8dadd
1 changed files with 4 additions and 2 deletions
|
@ -201,7 +201,8 @@ class Clipbucket_db
|
|||
$val = ($vls[$i]);
|
||||
preg_match('/\|no_mc\|/',$val,$matches);
|
||||
//pr($matches);
|
||||
if(getArrayValue($matches, 0)!='')
|
||||
//if(getArrayValue($matches, 0)!='')
|
||||
if($matches)
|
||||
$val = preg_replace('/\|no_mc\|/','',$val);
|
||||
else
|
||||
$val = $this->clean_var($val);
|
||||
|
@ -307,7 +308,8 @@ class Clipbucket_db
|
|||
|
||||
preg_match('/\|no_mc\|/',$value,$matches);
|
||||
//pr($matches);
|
||||
if(getArrayValue($matches, 0)!='')
|
||||
//if(getArrayValue($matches, 0)!='')
|
||||
if($matches)
|
||||
$val = preg_replace('/\|no_mc\|/','',$value);
|
||||
else
|
||||
$val = $this->clean_var($value);
|
||||
|
|
Loading…
Add table
Reference in a new issue