From 0e38924fbf0d41ccf7bf13ccc340df3231db3864 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Fri, 17 May 2024 14:46:05 +0800 Subject: [PATCH] * Fix replace lang bug. --- 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 a1677b4a3f..d4ea7e9f8c 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -4283,7 +4283,7 @@ class storyModel extends model { $storyLang = $this->lang->story; $SRCommon = $this->lang->SRCommon; - if($this->app->tab != 'product') + if($this->app->tab != 'product' && $this->app->rawMethod == 'report') { $replacement = $this->lang->common->story; $storyLang->report->charts['storiesPerProduct'] = str_replace($SRCommon, $replacement, $storyLang->report->charts['storiesPerProduct']);