Explorar o código

Fix foreach loop

Guillermo Espinoza %!s(int64=7) %!d(string=hai) anos
pai
achega
5b7ef1ae03
Modificáronse 1 ficheiros con 1 adicións e 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);