From 07137d8c37ee9e7cac0a67947bb9bc4cf8cc22bf Mon Sep 17 00:00:00 2001 From: liumengyi Date: Wed, 13 Dec 2023 17:12:35 +0800 Subject: [PATCH] * Fix bug #41479, fix parameter type error. --- module/productplan/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/productplan/model.php b/module/productplan/model.php index 37c50e59e7..9702601562 100644 --- a/module/productplan/model.php +++ b/module/productplan/model.php @@ -886,7 +886,7 @@ class productplanModel extends model $this->dao->update(TABLE_STORY)->set('plan')->eq(implode(',', $plans))->where('id')->eq((int)$storyID)->exec(); /* Delete the story in the sort of the plan. */ - $this->loadModel('story')->updateStoryOrderOfPlan($storyID, '', $planID); + $this->loadModel('story')->updateStoryOrderOfPlan($storyID, '', (string)$planID); $this->story->setStage($storyID); $this->loadModel('action')->create('story', $storyID, 'unlinkedfromplan', '', $planID);