mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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=$sqlfilters;
|
||||
$ok=0;
|
||||
$i=0; $nb=count($tmp);
|
||||
$i=0; $nb=strlen($tmp);
|
||||
$counter=0;
|
||||
while ($i < $nb)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user