Merge pull request #9691 from ebzao/ebzao-a53bed300f28813539023e8fc69c1052bbe93575

fix API check sql filters
This commit is contained in:
Laurent Destailleur 2018-10-06 12:51:30 +02:00 committed by GitHub
commit 4c67fae781
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -254,7 +254,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)
{