Skip to content

Commit

Permalink
AC-6384: Fix for empty catalog page issue after Admin config change
Browse files Browse the repository at this point in the history
  • Loading branch information
nishant04412 committed Aug 16, 2022
1 parent f9adcd9 commit bb55549
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
<?php if ($block->isLimitCurrent($_key)):?>
selected="selected"
<?php endif ?>>
<?= $block->escapeHtml($localeFormatter->formatNumber((int) $_limit)) ?>
<?= $block->escapeHtml(
is_numeric($_limit) ? $localeFormatter->formatNumber((int) $_limit) : $_limit
) ?>
</option>
<?php endforeach; ?>
</select>
Expand Down

0 comments on commit bb55549

Please sign in to comment.