From 0cb06aaa53f9a626296a92c9b5d97adfc8f51332 Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Tue, 22 Jun 2021 16:00:48 +0800 Subject: [PATCH] * Fix code error. --- 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 06f900fe67..82c9d6b76a 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -380,7 +380,7 @@ class storyModel extends model $story->pri = $stories->pri[$i]; $story->estimate = $stories->estimate[$i]; $story->status = ($stories->needReview[$i] == 0 and !$forceReview) ? 'active' : 'draft'; - $story->stage = ($this->app->openApp == project or $this->app->openApp == execution) ? 'projected' : 'wait'; + $story->stage = ($this->app->openApp == 'project' or $this->app->openApp == 'execution') ? 'projected' : 'wait'; $story->keywords = $stories->keywords[$i]; $story->sourceNote = $stories->sourceNote[$i]; $story->product = $productID;