*Finish 44403,44406,44406,44401

This commit is contained in:
xiawenlong
2021-11-17 10:53:37 +08:00
parent 86431ddb80
commit 8c1f8ea70c
11 changed files with 222 additions and 152 deletions

View File

@@ -303,10 +303,10 @@ class gitlabModel extends model
$refList = array();
$branches = $this->apiGetBranches($gitlabID, $projectID);
foreach($branches as $branch) $refList[$branch->name] = "Branch::" . $branch->name;
if(is_array($branches)) foreach($branches as $branch) $refList[$branch->name] = "Branch::" . $branch->name;
$tags = $this->apiGetTags($gitlabID, $projectID);
foreach($tags as $tag) $refList[$tag->name] = "Tag::" . $tag->name;
if(is_array($tags)) foreach($tags as $tag) $refList[$tag->name] = "Tag::" . $tag->name;
return $refList;