This commit is contained in:
tianshujie98
2021-04-28 16:01:01 +08:00
parent e70e2a7a22
commit d6ff645901
+2 -2
View File
@@ -1178,9 +1178,9 @@ class executionModel extends model
{
$link = helper::createLink($module, $method, "productID=0&branch=0&extra=executionID=%s");
}
elseif($module == 'bug' and $method == 'view')
elseif(in_array($module, array('bug', 'case', 'testtask', 'testreport')) and $method == 'view')
{
$link = helper::createLink('execution', 'bug', "executionID=%s");
$link = helper::createLink('execution', $module, "executionID=%s");
}
else
{