From 7724b5f5e4faa0fb8a6c78d5f4d7dc3f3a10b968 Mon Sep 17 00:00:00 2001 From: Alexander Kochetov Date: Fri, 24 May 2013 00:44:36 +0400 Subject: [PATCH] Cosmetic change --- framework/yii/jui/Tabs.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/framework/yii/jui/Tabs.php b/framework/yii/jui/Tabs.php index 171b7fe..ca0b3da 100644 --- a/framework/yii/jui/Tabs.php +++ b/framework/yii/jui/Tabs.php @@ -104,10 +104,9 @@ class Tabs extends Widget if (!isset($item['content'])) { throw new InvalidConfigException("The 'content' option is required."); } - $id = $this->options['id'] . '-tab' . $n; $options = ArrayHelper::getValue($item, 'options', array()); if (!isset($options['id'])) { - $options['id'] = $id; + $options['id'] = $this->options['id'] . '-tab' . $n; } $contents[] = Html::tag('div', $item['content'], $options); }