This commit is contained in:
liyuchun
2022-04-28 05:49:13 +00:00
parent 1729e30cb4
commit b65976522e
+1 -1
View File
@@ -376,7 +376,7 @@ class repoModel extends model
foreach($repos as $repo)
{
$repo->acl = json_decode($repo->acl);
$scm = $repo->SCM == 'Subversion' ? 'svn' : 'git';
$scm = $repo->SCM == 'Subversion' ? 'svn' : strtolower($repo->SCM);
if($this->checkPriv($repo))
{
if(($type == 'project' or $type == 'execution') and $projectID)