mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-10 02:13:17 +08:00
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user