소스 검색

Fix bug introduce in the last commit

Thomas Rabaix 14 년 전
부모
커밋
f9f78d0e05
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
     }
 
     /**