PMC-131 In section Admin->Users->Groups the second page of the list always shows double the corresponding amount of groups
This commit is contained in:
@@ -69,7 +69,7 @@ class Admin extends Controller
|
||||
|
||||
$this->setJSVar( 'CONFIG', $Config );
|
||||
$this->setJSVar( 'FORMATS', $c->getFormats() );
|
||||
$this->setJSVar( 'uxTypes', AdminProxy::getUxTypesList( 'list' ) );
|
||||
$this->setJSVar( 'uxTypes', adminProxy::getUxTypesList( 'list' ) );
|
||||
|
||||
G::RenderPage( 'publish', 'extJs' );
|
||||
}
|
||||
|
||||
@@ -233,7 +233,7 @@ class adminProxy extends HttpProxyController
|
||||
return array('success' => $success, 'users' => $usersAdmin);
|
||||
}
|
||||
|
||||
public function getUxTypesList($type = 'assoc')
|
||||
public static function getUxTypesList($type = 'assoc')
|
||||
{
|
||||
$list = array();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user