Skip to content

Commit

Permalink
Fixed issue #11545: Not possible to edit administrators
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Aug 15, 2016
1 parent 5eb1460 commit 90e9b82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/admin/useraction.php
Expand Up @@ -58,11 +58,11 @@ public function index()

$aData = array();
// Page size
if (!empty(Yii::app()->request->getParam('pageSize')))
if (Yii::app()->request->getParam('pageSize'))
{
Yii::app()->user->setState('pageSize',(int)Yii::app()->request->getParam('pageSize'));
}
else
else
{
Yii::app()->user->setState('pageSize',(int)Yii::app()->params['defaultPageSize']);
}
Expand Down

0 comments on commit 90e9b82

Please sign in to comment.