diff --git a/themes/bootstrap3/templates/Recommend/SideFacets/cluster-list.phtml b/themes/bootstrap3/templates/Recommend/SideFacets/cluster-list.phtml index f9d78e1d6e0c11e27292d77e36330b8158fe6bc5..d3d6b733e1ae0991bae540d5c605f165b4fb5c89 100644 --- a/themes/bootstrap3/templates/Recommend/SideFacets/cluster-list.phtml +++ b/themes/bootstrap3/templates/Recommend/SideFacets/cluster-list.phtml @@ -64,7 +64,7 @@ <? endforeach; ?> <? /* LESS and SEE MORE links */ ?> -<? if ($i >= $this->facets_before_more): ?> +<? if (isset($i) && $i >= $this->facets_before_more): ?> <? if ($this->showMoreInLightbox === 'more' && $facetLightbox = $options->getFacetListAction()): ?> <? $moreUrl = $this->url($facetLightbox) . $results->getUrlQuery()->getParams().'&facet='.$this->title.'&facetop='.$thisFacet['operator'].'&facetexclude='.($this->allowExclude ? 1 : 0); ?> <a class="facet narrow-toggle <?=$moreClass ?>" data-lightbox href="<?=$moreUrl ?>" rel="nofollow"><?=$this->transEsc('see all')?> ...</a>