[Propel1] Fixed preferred choices in the ModelChoiceList.

For some reason this change was not merged from 2.1 branch.
This commit is contained in:
Jakub Zalas 2013-01-05 12:15:48 +01:00
parent 31ff3db517
commit 310f691cd0

View File

@ -104,7 +104,7 @@ class ModelChoiceList extends ObjectChoiceList
$this->identifierAsIndex = true;
}
parent::__construct($choices, $labelPath, array(), $groupPath);
parent::__construct($choices, $labelPath, $preferred, $groupPath);
}
/**