From 78f0db744b62003f2667c9fef223706e5b52e5e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E9=87=91=E5=8B=87?= Date: Tue, 4 Nov 2025 17:24:59 +0800 Subject: [PATCH] * [highgo] Fix bug #66690. --- module/execution/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/execution/model.php b/module/execution/model.php index a3cba0e5c8..092df114a5 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -3015,7 +3015,7 @@ class executionModel extends model $executionStories = $this->dao->select('project,story')->from(TABLE_PROJECTSTORY)->where('story')->eq($storyID)->andWhere('project')->in(array_keys($executions))->fetchAll(); if(!empty($executionStories)) return dao::$errors[] = $this->lang->execution->notAllowedUnlinkStory; } - $this->dao->delete()->from(TABLE_PROJECTSTORY)->where('project')->eq($executionID)->andWhere('story')->eq($storyID)->limit(1)->exec(); + $this->dao->delete()->from(TABLE_PROJECTSTORY)->where('project')->eq($executionID)->andWhere('story')->eq($storyID)->exec(); /* Resolve TABLE_KANBANCELL's field cards. */ if($execution->type == 'kanban') @@ -3119,7 +3119,7 @@ class executionModel extends model /* Sync unlink case in no multiple execution. */ if(empty($execution->multiple) && $execution->type != 'project') { - $this->dao->delete()->from(TABLE_PROJECTCASE)->where('project')->eq($execution->project)->andWhere('`case`')->eq($caseID)->limit(1)->exec(); + $this->dao->delete()->from(TABLE_PROJECTCASE)->where('project')->eq($execution->project)->andWhere('`case`')->eq($caseID)->exec(); $this->action->create('case', $caseID, 'unlinkedfromproject', '', $execution->project); } }