use of Html::tag function has arguments transposed
Issue #1
closed
protected function renderTitle() {
if ($this->menuTitle) {
echo Html::tag($this->tagName, array('class' => 'tile-slide-menu-title'), $this->menuTitle);
}
}
Html::tag call needs args 2 & 3 transposed. in BaseHtml::tag the static function is... public static function tag($name, $content = '', $options = [])
Comments (2)
-
repo owner -
repo owner - changed status to closed
Corrected menuTitle issue close
#1→ <<cset 2b9c884e5779>>
- Log in to comment
There was an error while porting the extension from Yii1 to Yii2. This is the correct way in Yii1 in Yii2 it's the other way around.