Skip to content
Snippets Groups Projects
Commit 343ea88a authored by Demian Katz's avatar Demian Katz
Browse files

Avoid undefined variable error.

parent 958d3fa3
No related merge requests found
......@@ -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().'&amp;facet='.$this->title.'&amp;facetop='.$thisFacet['operator'].'&amp;facetexclude='.($this->allowExclude ? 1 : 0); ?>
<a class="facet narrow-toggle <?=$moreClass ?>" data-lightbox href="<?=$moreUrl ?>" rel="nofollow"><?=$this->transEsc('see all')?> ...</a>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment