* Fix replace lang bug.

This commit is contained in:
sunguangming
2024-05-17 14:46:05 +08:00
parent b0882af418
commit 0e38924fbf
+1 -1
View File
@@ -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']);