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');