From ae287f12d69954947a47c3b263fe52964ce9c9ff Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Wed, 24 Jul 2013 16:23:02 -0400 Subject: [PATCH] Fixes #660. --- framework/yii/widgets/ListView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/widgets/ListView.php b/framework/yii/widgets/ListView.php index 0f9d42f..21aa5e2 100644 --- a/framework/yii/widgets/ListView.php +++ b/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); }