Merge branch 'sprint/174_songchenxuan_codefortestbug' into 'master'

*Fix bug for test bug.

See merge request easycorp/zentaopms!744
This commit is contained in:
李玉春
2021-12-02 07:22:51 +00:00
+1 -1
View File
@@ -1433,7 +1433,7 @@ class testtaskModel extends model
echo "</span>";
break;
case 'title':
if(isset($run->branch)) echo "<span class='label label-info label-outline'>{$branches[$run->branch]}</span>";
if(!empty($branches)) echo "<span class='label label-info label-outline'>{$branches[$run->branch]}</span>";
if($canView)
{
if($fromCaseID)