From 7ee385a3b7cf1bbf110e5d01db8dfe41d67c7d68 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Thu, 18 Jan 2024 15:24:37 +0800 Subject: [PATCH] * Fix bug #43670. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index 3ce9d2e65d..a30eaea405 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -3433,7 +3433,7 @@ class executionModel extends model $action = $execution->type == 'project' ? 'linked2project' : 'linked2execution'; if($action == 'linked2execution' and $execution->type == 'kanban') $action = 'linked2kanban'; if($execution->multiple or $execution->type == 'project') $this->action->create('story', $storyID, $action, '', $executionID); - if($storyType == 'requirement' and $execution->model == 'ipd') $this->dao->update(TABLE_STORY)->set('status')->eq('developing')->where('id')->eq($storyID)->exec(); + if($this->config->edition == 'ipd' and $storyType == 'requirement') $this->dao->update(TABLE_STORY)->set('status')->eq('developing')->where('id')->eq($storyID)->exec(); } if(!isset($output['laneID']) or !isset($output['columnID'])) $this->kanban->updateLane($executionID, 'story');