diff --git a/module/story/tao.php b/module/story/tao.php index 7f788e3284..d45fb08c0f 100644 --- a/module/story/tao.php +++ b/module/story/tao.php @@ -1712,7 +1712,7 @@ class storyTao extends storyModel foreach($releases as $release) { - $branches = array_unique(array_filter(explode(',', $release->branch))); + $branches = array_unique(explode(',', trim($release->branch, ','))); foreach($branches as $branch) $stages[(int)$branch] = 'released'; }