* Fix bug #49898, remove tag group for repo branch create page.

This commit is contained in:
caoyanyi
2024-05-21 10:33:08 +08:00
parent 4d3dd8ef07
commit b685176353
3 changed files with 17 additions and 5 deletions
+3
View File
@@ -1780,6 +1780,9 @@ class repoZen extends repo
$tags = $scm->tags();
foreach($tags as $tag) $options[1]['items'][] = array('text' => $tag, 'value' => $tag, 'key' => $tag);
if(empty($tags)) unset($options[1]);
if(empty($branches)) unset($options[0]);
return $options;
}
}