* Fix bug of task #89149.

This commit is contained in:
liumengyi
2023-03-29 09:16:48 +08:00
parent be75bd716f
commit d4a8dbb88b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ class docModel extends model
$execution = $this->loadModel('execution')->getByID($lib->execution);
$lib->project = $execution->project;
}
if($this->post->libType) $lib->type = 'api';
if($this->post->libType == 'api') $lib->type = 'api';
if($lib->acl == 'custom' or $lib->acl == 'private')
{