Update Breadcrumbs.php
This commit is contained in:
parent
b431fc4da4
commit
7996995c0e
@ -103,7 +103,12 @@ class Breadcrumbs extends \yii\widgets\Breadcrumbs
|
||||
}
|
||||
Html::addCssClass($this->options, ['widget' => 'breadcrumb']);
|
||||
|
||||
return Html::tag('nav', parent::run(), $this->navOptions);
|
||||
// @todo update after fixing the parent method
|
||||
ob_start();
|
||||
parent::run();
|
||||
$content = ob_get_clean();
|
||||
|
||||
return Html::tag('nav', $content, $this->navOptions);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user