Jelajahi Sumber

Fix bug introduce in the last commit

Thomas Rabaix 14 tahun lalu
induk
melakukan
f9f78d0e05
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;
     }
 
     /**