diff --git a/themes/bootstrap3/templates/collections/home.phtml b/themes/bootstrap3/templates/collections/home.phtml index 3140eaa4dab1ededa6c1ddcc308d77a10fefd98f..74462f12b231828779cf7763ea6a69a34c88e060 100644 --- a/themes/bootstrap3/templates/collections/home.phtml +++ b/themes/bootstrap3/templates/collections/home.phtml @@ -55,7 +55,7 @@ <ul class="pagination"> <? foreach ($letters as $letter): ?> - <li<? if($letter === $from): ?> class="active"<?endif?>><a href="<?=$this->url('collections-home')?>?from=<?=urlencode($letter)?><?=$this->escapeHtmlAttr($filterString)?>"><?=$this->escapeHtml($letter)?></a></li> + <li<? if (strcasecmp($letter, $from) == 0): ?> class="active"<?endif?>><a href="<?=$this->url('collections-home')?>?from=<?=urlencode($letter)?><?=$this->escapeHtmlAttr($filterString)?>"><?=$this->escapeHtml($letter)?></a></li> <? endforeach; ?> </ul> <?=$pageLinks ?>