yiisoft/yii2 — pull request #3843 by umneeq (2014-06-12 17:34:39+00:00)
Title: Fix Menu bug when using `template` with `encodeLabel` => false

```php
Menu::widget([
'encodeLabels' => false,
'items' => [
['template' => $this->render('_menuToggle')],
['label' => 'Articles', 'url' => ['/article/index']],
],
])
```
Lead to exception:
```
PHP Notice – yii\base\ErrorException
Undefined index: label
```