Fix my mistake in Breadcrumbs::run()

This commit is contained in:
Anton 2022-05-03 21:59:59 +03:00 committed by GitHub
parent c9e153e75d
commit bf064a3860
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ class Breadcrumbs extends \yii\widgets\Breadcrumbs
} }
Html::addCssClass($this->options, ['widget' => 'breadcrumb']); Html::addCssClass($this->options, ['widget' => 'breadcrumb']);
// @todo update after fixing the parent method // parent method not return result
ob_start(); ob_start();
parent::run(); parent::run();
$content = ob_get_clean(); $content = ob_get_clean();