Browse Source

Fixes #660.

tags/2.0.0-beta
Qiang Xue 12 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 '';
}
/** @var LinkPager $class */
$class = ArrayHelper::remove($this->sorter, 'class', LinkPager::className());
$class = ArrayHelper::remove($this->pager, 'class', LinkPager::className());
$this->pager['pagination'] = $pagination;
return $class::widget($this->pager);
}

Loading…
Cancel
Save