* Adjust code

This commit is contained in:
zenggang
2021-11-25 08:08:12 +00:00
parent facb6f1ce4
commit 1520eeb375
+1 -1
View File
@@ -455,7 +455,7 @@ class gitlabModel extends model
* @access public
* @return array
*/
public function apiGetUsers($gitlabID, $onlyLinked = false, $orderBy)
public function apiGetUsers($gitlabID, $onlyLinked = false, $orderBy = 'id_desc')
{
/* GitLab API '/users' can only return 20 users per page in default, so we use a loop to fetch all users. */
$page = 1;