diff --git a/lib/widget/sfWidgetFormChoice.class.php b/lib/widget/sfWidgetFormChoice.class.php index dc83904a4..ca698f109 100644 --- a/lib/widget/sfWidgetFormChoice.class.php +++ b/lib/widget/sfWidgetFormChoice.class.php @@ -26,6 +26,8 @@ class sfWidgetFormChoice extends sfWidgetFormChoiceBase public function setIdFormat($format) { $this->options['renderer_options']['id_format'] = $format; + + return $this; } /**