From 7b7535237b4c827736acab1546ec17d1302efe22 Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Wed, 16 Sep 2020 15:15:09 +0800 Subject: [PATCH] * Fix bug #3504. --- module/project/control.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/project/control.php b/module/project/control.php index 1c6dee5a4b..c95ff51b7b 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -2544,6 +2544,9 @@ class project extends control unset($planStory[$id]); continue; } + + if($story->parent < 0) unset($planStory[$id]); + $planProducts[$story->id] = $story->product; } $planStories = array_keys($planStory);