* Adjust param type for gitlab.

This commit is contained in:
caoyanyi
2024-01-04 17:19:16 +08:00
parent 4b53ccf6dd
commit d1b41218f8
+1 -1
View File
@@ -849,7 +849,7 @@ class gitlab extends control
$this->app->loadClass('pager', true);
$recTotal = count($branchList);
$pager = new pager($recTotal, $recPerPage, $pageID);
$branchList = array_chunk($branchList, $pager->recPerPage);
$branchList = array_chunk($branchList, (int)$pager->recPerPage);
$this->view->gitlab = $this->gitlab->getByID($gitlabID);
$this->view->pager = $pager;