From 6eb1532e2ee5cd64aa2f18ff1ff3722028165f46 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Tue, 30 Jan 2024 13:27:46 +0800 Subject: [PATCH] * Fix bug #45352. --- module/product/js/browse.ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/js/browse.ui.js b/module/product/js/browse.ui.js index 208d0c7c98..858e83aa43 100644 --- a/module/product/js/browse.ui.js +++ b/module/product/js/browse.ui.js @@ -81,7 +81,7 @@ window.renderCell = function(result, info) window.setStatistics = function(element, checkedIdList, pageSummary) { - if(checkedIdList.length == 0) return {html: pageSummary}; + if(checkedIdList != undefined && checkedIdList.length == 0) return {html: pageSummary}; let total = 0; let SRTotal = 0;