From 140e98d972887ffa79c5700af37f8dcaf88ee53e Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 19 Mar 2025 09:14:18 +0800 Subject: [PATCH] * [bug#60630,done,0.5h] fix main branch stories be filtered. --- module/story/tao.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; }