Revert "Merge branch 'devops_caoyanyi' into 'master'"

This reverts merge request !1515
This commit is contained in:
李玉春
2022-01-20 05:42:05 +00:00
parent 98d5844e64
commit 39e8a3fae7
4 changed files with 18 additions and 25 deletions
+1 -1
View File
@@ -820,7 +820,7 @@ class gitlab extends control
$this->app->loadClass('pager', $static = true);
$recTotal = count($branches);
$pager = new pager($recTotal, $recPerPage, $pageID);
$branchList = is_array($branches) ? array_chunk($branches, $pager->recPerPage) : array();
$branchList = array_chunk($branches, $pager->recPerPage);
$this->view->keyword = $keyword;
$this->view->pager = $pager;