* Modify the execution scope of creating and editing bugs.

This commit is contained in:
tianshujie
2021-11-21 10:46:35 +08:00
parent fb6ce99d18
commit 0408f2f8ce
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1323,7 +1323,7 @@ class executionModel extends model
{
$link = helper::createLink($module, $method, "productID=0&branch=0&extra=executionID=%s");
}
elseif(in_array($module, array('bug', 'case', 'testtask', 'testreport')) and $method == 'view')
elseif(in_array($module, array('bug', 'case', 'testtask', 'testreport')) and strpos(',view,edit,', ",$method,") !== false)
{
$link = helper::createLink('execution', $module, "executionID=%s");
}