From 0efe892f158abd7bbf138974c0df6bab23d2b764 Mon Sep 17 00:00:00 2001 From: Antonio Ramirez Date: Sat, 28 Dec 2013 09:33:55 +0100 Subject: [PATCH] fix merging issues --- extensions/yii/jui/InputWidget.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/extensions/yii/jui/InputWidget.php b/extensions/yii/jui/InputWidget.php index 7aae366..0facfb9 100644 --- a/extensions/yii/jui/InputWidget.php +++ b/extensions/yii/jui/InputWidget.php @@ -50,9 +50,6 @@ class InputWidget extends Widget if ($this->hasModel() && !isset($this->options['id'])) { $this->options['id'] = Html::getInputId($this->model, $this->attribute); } - if($this->hasModel() && !array_key_exists('id', $this->options)) { - $this->options['id'] = Html::getInputId($this->model, $this->attribute); - } parent::init(); }