* adjust for task #46552.

This commit is contained in:
王怡栋
2021-12-29 09:49:43 +08:00
parent 0ba53391eb
commit 2e7530441b
6 changed files with 39 additions and 41 deletions
+1 -1
View File
@@ -608,7 +608,7 @@ class gitlabModel extends model
* @access public
* @return array
*/
public function apiGetProjectsPager($gitlabID, $keyword = '', $orderBy, $pager)
public function apiGetProjectsPager($gitlabID, $keyword = '', $orderBy = 'id_desc', $pager = null)
{
$gitlab = $this->getByID($gitlabID);
if(!$gitlab) return array();