From b4b163eb32368da33b88cccf692b35cb7ddc8adf Mon Sep 17 00:00:00 2001 From: sunguangming Date: Wed, 31 Dec 2025 02:42:40 +0000 Subject: [PATCH] * [misc] fix bug. --- 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 36cf3d140e..48a7ffb869 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->execution); + if(!empty($testtask->execution)) $this->view->execution = $this->loadModel('project')->getByID((int)$testtask->execution); $this->view->title = "TASK #$testtask->id $testtask->name/" . $products[$testtask->product]; $this->view->users = $this->loadModel('user')->getPairs('noclosed|noletter');