diff --git a/themes/site/modules/loyalty/loyalty.tpl b/themes/site/modules/loyalty/loyalty.tpl index 84a7c2de..83eceec1 100755 --- a/themes/site/modules/loyalty/loyalty.tpl +++ b/themes/site/modules/loyalty/loyalty.tpl @@ -3,7 +3,7 @@
{l s='items:' mod='loyalty'} {foreach from=$nArray item=nValue} - {if $nValue <= $displayorders|@count} + {if $nValue <= $nb_orders} {$nValue|escape:'htmlall':'UTF-8'} {/if} {/foreach}