Procházet zdrojové kódy

Merge branch 'master' of ssh://200.50.168.30:222/VendorSoftwareFlowdat3/Webservice into FD3-257

gabriel před 7 roky
rodič
revize
9bf7cb7e64
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Form/ChoiceList/Loader/ClientChoiceLoader.php

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

@@ -93,7 +93,7 @@ class ClientChoiceLoader implements ChoiceLoaderInterface
     public function loadChoiceList($value = null)
     {
         $choices = array();
-        if (empty($this->selected)) {
+        if (is_array($this->selected) and !empty($this->selected)) {
             $choices = $this->getChoicesList(false);
 
             $missing_choices = array_flip($this->selected);