From c9f757c6352c7af5769eafc1971eb9f6bb358e15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=BB=B6=E4=B9=89?= Date: Tue, 27 Sep 2022 13:23:37 +0800 Subject: [PATCH] * Adjust code. --- module/product/view/all.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/view/all.html.php b/module/product/view/all.html.php index ace8e852ff..88462b928b 100644 --- a/module/product/view/all.html.php +++ b/module/product/view/all.html.php @@ -253,7 +253,7 @@
product->pageSummary, count($productStats)) : sprintf($lang->product->lineSummary, count($lineNames), count($productStats)); + $summary = empty($productLines) ? sprintf($lang->product->pageSummary, count($productStats)) : sprintf($lang->product->lineSummary, count($lineNames), count($productStats)); echo "
$summary
"; ?>