From 7daaa3ba7d863a1b64d142210372b4e4e72cbcfc Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Tue, 20 Feb 2024 09:37:41 +0800 Subject: [PATCH] * Fix bug #45666. --- 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 d6beeae3cc..6ece3f81c6 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -3649,7 +3649,7 @@ class storyModel extends model } $storyQuery = preg_replace('/`(\w+)`/', 't2.`$1`', $storyQuery); - if($products) $productID = key($products); + if($this->app->rawModule != 'projectstory' and $products) $productID = key($products); $review = $this->getRevertStoryIDList($productID); if(strpos($storyQuery, 'result') !== false)