From 81045aecfc452d52899f41f76a9e33053c6f8ac8 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Thu, 28 Dec 2023 10:10:29 +0800 Subject: [PATCH] * Fix bug#42451. --- module/projectstory/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/projectstory/control.php b/module/projectstory/control.php index 9c1fe15ac5..33dcc69c57 100644 --- a/module/projectstory/control.php +++ b/module/projectstory/control.php @@ -164,7 +164,7 @@ class projectStory extends control { if(isset($executionStories[$storyID])) continue; - $this->execution->unlinkStory($projectID, $storyID); + $this->execution->unlinkStory($projectID, (int)$storyID); if(dao::isError()) $errors[$storyID] = dao::getError(); } if(empty($errors)) $this->loadModel('score')->create('ajax', 'batchOther');