From 6107956524bb98ae3b2456260bd1c70513fd7d7f Mon Sep 17 00:00:00 2001 From: liyuchun Date: Fri, 31 Dec 2021 09:42:24 +0800 Subject: [PATCH] * Fix bug #18087. --- module/gitlab/model.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/module/gitlab/model.php b/module/gitlab/model.php index 36eb26016e..4cf23b92f3 100644 --- a/module/gitlab/model.php +++ b/module/gitlab/model.php @@ -1551,7 +1551,13 @@ class gitlabModel extends model if(count($results)<100) break; } - return $allResults; + $tags = array(); + foreach($allResults as $tag) + { + $tags[$tag->name] = $tag; + } + + return $tags; } /**