Просмотр исходного кода

Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into 8.0

Laurent Destailleur 6 лет назад
Родитель
Сommit
41e20a9d4f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      htdocs/api/class/api.class.php

+ 1 - 1
htdocs/api/class/api.class.php

@@ -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)
 	    {