* [task#127113,1h,0h] The billboard of IPD project is empty and there is an error.

This commit is contained in:
tanghucheng
2024-08-29 16:34:39 +08:00
committed by 胡方舟
parent fcecf8c1a4
commit f057bbe2f8
+1 -1
View File
@@ -1032,7 +1032,7 @@ class execution extends control
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
$this->loadModel('action')->create($this->objectType, $executionID, 'opened', '', $project->hasProduct ? implode(',', $_POST['products']) : '');
if(!empty($projectID) and strpos(',kanban,agileplus,waterfallplus,', ",$project->model,") !== false and $execution->type == 'kanban')
if(!empty($projectID) and strpos(',kanban,agileplus,waterfallplus,ipd,', ",$project->model,") !== false and $execution->type == 'kanban')
{
$execution = $this->execution->fetchByID($executionID);
$this->loadModel('kanban')->createRDKanban($execution);