bugfixes for pagination and installation
This commit is contained in:
@ -257,7 +257,7 @@ class Group extends DatabaseModel {
|
||||
if ( $group === false ) {
|
||||
return false;
|
||||
}
|
||||
$members = self::$db->get( 'users', [ 'userGroup', '=', $id ] );
|
||||
$members = self::$db->getPaginated( 'users', [ 'userGroup', '=', $id ] );
|
||||
if ( !$members->count() ) {
|
||||
Debug::info( "list members: Could not find anyone in group: $id" );
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user