* [story#74954] fix bug for gitlab project.
This commit is contained in:
@@ -639,6 +639,7 @@ class gitlabModel extends model
|
||||
|
||||
$this->app->loadClass('pager', true);
|
||||
$pager = pager::init($recTotal, $recPerPage, $pager->pageID);
|
||||
if(empty($recTotal)) return array('pager' => $pager, 'projects' => array());
|
||||
|
||||
return array('pager' => $pager, 'projects' => json_decode($result['body']));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user