From fe8934bba442712c2b6d008be2fb289af9b3410a Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Wed, 20 Sep 2023 13:32:01 +0800 Subject: [PATCH] * Replace and to &&. --- module/product/zen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/zen.php b/module/product/zen.php index 56af65944d..193c4922ed 100644 --- a/module/product/zen.php +++ b/module/product/zen.php @@ -962,7 +962,7 @@ class productZen extends product if(!isset($this->story)) $this->loadModel('story'); /* Get stories. */ - if($isProjectStory and $storyType == 'story') + if($isProjectStory && $storyType == 'story') { $this->products = $this->product->getProducts($projectID, 'all', '', false);