From 67687a738aea589d02ff5d6731e439d758125169 Mon Sep 17 00:00:00 2001 From: mayue Date: Fri, 12 Nov 2021 13:58:02 +0800 Subject: [PATCH] * Fix bug #16221. --- module/story/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/story/control.php b/module/story/control.php index 46d3a21642..300a266500 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -437,6 +437,8 @@ class story extends control $products = $this->product->getPairs(); $moduleOptionMenu = $this->tree->getOptionMenu($productID, $viewType = 'story', 0, $branch); + if($product) $this->lang->product->branch = sprintf($this->lang->product->branch, $this->lang->product->branchName[$product->type]); + /* Init vars. */ $planID = $plan; $pri = 0;