From 0f2633fcb3a36c56eb9fbe729c7e544c9fdbc5cf Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Mon, 21 Sep 2020 09:37:16 +0800 Subject: [PATCH] * Finish task #7923. --- module/story/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/story/model.php b/module/story/model.php index d7c293ee49..4ef1eade74 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -56,7 +56,7 @@ class storyModel extends model foreach($plans as $planID => $plan) { $story->planTitle[$planID] = $plan->title; - if($plan->branch and !isset($story->stages[$plan->branch])) $story->stages[$plan->branch] = 'planned'; + if($plan->branch and !isset($story->stages[$plan->branch]) and empty($story->branch)) $story->stages[$plan->branch] = 'planned'; } } $extraStories = array();