From 0046b58c1d7711a780c797757cde8f24acdba507 Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Mon, 26 Apr 2021 13:55:56 +0800 Subject: [PATCH] * Fix bug #12327. --- module/task/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/task/control.php b/module/task/control.php index ddd5cbbcc1..762703d031 100644 --- a/module/task/control.php +++ b/module/task/control.php @@ -677,7 +677,7 @@ class task extends control /* Set menu. */ $execution = $this->execution->getById($task->execution); - $this->execution->setMenu($execution->id); + if($this->app->openApp == 'execution') $this->execution->setMenu($execution->id); $this->executeHooks($taskID);