Kaynağa Gözat

Fix bug introduce in the last commit

Thomas Rabaix 14 yıl önce
ebeveyn
işleme
f9f78d0e05
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;
     }
 
     /**