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 = '';