diff --git a/framework/widgets/BaseListView.php b/framework/widgets/BaseListView.php index f41c015e6b..7b2b541c87 100644 --- a/framework/widgets/BaseListView.php +++ b/framework/widgets/BaseListView.php @@ -167,7 +167,7 @@ abstract class BaseListView extends Widget { $options = $this->emptyTextOptions; $tag = ArrayHelper::remove($options, 'tag', 'div'); - return Html::tag($tag, ($this->emptyText === null ? Yii::t('yii', 'No results found.') : $this->emptyText), $options); + return Html::tag($tag, $this->emptyText, $options); } /**