* [misc] fix bug.

This commit is contained in:
sunguangming
2025-12-31 02:42:40 +00:00
parent dc4704e35a
commit b4b163eb32
+1 -1
View File
@@ -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');