From 002f85e70bc8c736209c39efed1cdffff05d7118 Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Wed, 19 May 2021 10:04:08 +0800 Subject: [PATCH] * Fix bug #12662. --- module/execution/model.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/module/execution/model.php b/module/execution/model.php index fd12a6495e..52d3c255a4 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -1149,6 +1149,11 @@ class executionModel extends model $module = 'execution'; $method = 'testcase'; } + if($module == 'testtask' and ($method == 'view' || $method == 'create' || $method == 'edit')) + { + $module = 'execution'; + $method = 'testtask'; + } if($module == 'build' and ($method == 'edit' || $method= 'view')) { $module = 'execution';