Browse Source

Fixes #660.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
ae287f12d6
  1. 2
      framework/yii/widgets/ListView.php

2
framework/yii/widgets/ListView.php

@ -254,7 +254,7 @@ class ListView extends Widget
return ''; return '';
} }
/** @var LinkPager $class */ /** @var LinkPager $class */
$class = ArrayHelper::remove($this->sorter, 'class', LinkPager::className()); $class = ArrayHelper::remove($this->pager, 'class', LinkPager::className());
$this->pager['pagination'] = $pagination; $this->pager['pagination'] = $pagination;
return $class::widget($this->pager); return $class::widget($this->pager);
} }

Loading…
Cancel
Save