From a33891a03520972fcf3571a4d877e0a46875aed2 Mon Sep 17 00:00:00 2001 From: wangyuting Date: Mon, 24 Nov 2025 10:06:16 +0800 Subject: [PATCH] * Optimize code. --- module/testtask/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testtask/control.php b/module/testtask/control.php index 749e2fabd0..31042016ba 100644 --- a/module/testtask/control.php +++ b/module/testtask/control.php @@ -291,7 +291,7 @@ class testtask extends control /* Execute extended actions configured in the workflow. */ $this->executeHooks($testtaskID); - if(!empty($testtask->execution)) $this->view->execution = $this->loadModel('project')->getByID($testtask->executionID); + if(!empty($testtask->execution)) $this->view->execution = $this->loadModel('project')->getByID($testtask->execution); $this->view->title = "TASK #$testtask->id $testtask->name/" . $products[$testtask->product]; $this->view->users = $this->loadModel('user')->getPairs('noclosed|noletter');