Explorar el Código

Fix foreach loop

Guillermo Espinoza hace 7 años
padre
commit
5b7ef1ae03
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Form/ChoiceList/Loader/ClientChoiceLoader.php

+ 1 - 1
Form/ChoiceList/Loader/ClientChoiceLoader.php

@@ -178,7 +178,7 @@ class ClientChoiceLoader implements ChoiceLoaderInterface
         $choices = $this->webservice->getChoices($this->webserviceParameter, $params);
 
         $result = [];
-        $cnt = 1;
+        $cnt = 0;
         $limit = 10;
         $filter = mb_strtolower($filter);
         $filter_len = mb_strlen($filter);