Skip to content

Commit bb55549

Browse files
committed
AC-6384: Fix for empty catalog page issue after Admin config change
1 parent f9adcd9 commit bb55549

File tree

1 file changed

+3
-1
lines changed
  • app/code/Magento/Catalog/view/frontend/templates/product/list/toolbar

1 file changed

+3
-1
lines changed

app/code/Magento/Catalog/view/frontend/templates/product/list/toolbar/limiter.phtml

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
<?php if ($block->isLimitCurrent($_key)):?>
2424
selected="selected"
2525
<?php endif ?>>
26-
<?= $block->escapeHtml($localeFormatter->formatNumber((int) $_limit)) ?>
26+
<?= $block->escapeHtml(
27+
is_numeric($_limit) ? $localeFormatter->formatNumber((int) $_limit) : $_limit
28+
) ?>
2729
</option>
2830
<?php endforeach; ?>
2931
</select>

0 commit comments

Comments
 (0)