From 310f691cd0c5c9362406681baae6a4d413b9df45 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Sat, 5 Jan 2013 12:15:48 +0100 Subject: [PATCH] [Propel1] Fixed preferred choices in the ModelChoiceList. For some reason this change was not merged from 2.1 branch. --- src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php b/src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php index 19d0d13cba421..04ec7a8c6257d 100644 --- a/src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php +++ b/src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php @@ -104,7 +104,7 @@ public function __construct($class, $labelPath = null, $choices = null, $queryOb $this->identifierAsIndex = true; } - parent::__construct($choices, $labelPath, array(), $groupPath); + parent::__construct($choices, $labelPath, $preferred, $groupPath); } /**