From 1d2c85895c8d927531c75d32c409ef32b4a0754c Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 8 Sep 2021 15:47:32 +0800 Subject: [PATCH] * Modify the independent project to enter the story list problem. --- 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 dfe48ac41a..13d3ddec34 100644 --- a/module/projectstory/control.php +++ b/module/projectstory/control.php @@ -116,7 +116,7 @@ class projectStory extends control */ public function batchUnlinkStory($projectID, $storyIdList = '') { - $storyIdList = if(empty($storyIdList)) ? array() : array_filter(explode(',', $storyIdList)); + $storyIdList = empty($storyIdList ? array() : array_filter(explode(',', $storyIdList)); $executionStories = $this->projectstory->getExecutionStories($projectID, $storyIdList); $html = '';