Pārlūkot izejas kodu

Fix bug introduce in the last commit

Thomas Rabaix 14 gadi atpakaļ
vecāks
revīzija
f9f78d0e05
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Form/ChoiceList/ModelChoiceList.php

+ 1 - 1
Form/ChoiceList/ModelChoiceList.php

@@ -85,7 +85,7 @@ class ModelChoiceList extends ArrayChoiceList
             $this->propertyPath = new PropertyPath($property);
         }
 
-        parent::__construct($choices);
+        $this->choices = $choices;
     }
 
     /**