FIX Fix PHP warning "count(): Parameter must be an array..."
This commit is contained in:
parent
9d1a02b0d7
commit
b24f5fda68
@ -251,7 +251,7 @@ class DolibarrApi
|
|||||||
//$tmp=preg_replace_all('/'.$regexstring.'/', '', $sqlfilters);
|
//$tmp=preg_replace_all('/'.$regexstring.'/', '', $sqlfilters);
|
||||||
$tmp=$sqlfilters;
|
$tmp=$sqlfilters;
|
||||||
$ok=0;
|
$ok=0;
|
||||||
$i=0; $nb=count($tmp);
|
$i=0; $nb=strlen($tmp);
|
||||||
$counter=0;
|
$counter=0;
|
||||||
while ($i < $nb)
|
while ($i < $nb)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user