Merge branch 'sprint/180_songchenxuan_18132' into 'sprint/180'

*Fix bug #18132.

See merge request easycorp/zentaopms!1238
This commit is contained in:
朱金勇
2022-01-03 14:51:26 +00:00
+1 -1
View File
@@ -1324,7 +1324,7 @@ class executionModel extends model
$module = 'execution';
$method = 'testcase';
}
if($module == 'testtask' and ($method == 'view' || $method == 'create' || $method == 'edit'))
if($module == 'testtask' and ($method == 'view' || $method == 'create' || $method == 'edit' || $method == 'linkcase'))
{
$module = 'execution';
$method = 'testtask';