Skip to content
Snippets Groups Projects
Commit 81959193 authored by Patrick Barroca's avatar Patrick Barroca 😁
Browse files

rel #23805 : fix undefined variable

parent 7267afef
2 merge requests!1009Dev#23805 unleash the facets,!1007Dev#23805 unleash the facets
......@@ -83,14 +83,14 @@ class ZendAfi_View_Helper_Facettes extends ZendAfi_View_Helper_BaseHelper {
$html .= $this->renderLIFacette($url, $facet);
if ($following_facets)
$html .= $this->_renderFollowingFacets($type, $following_facets);
$html .= $this->_renderFollowingFacets($type, $following_facets, $url);
return $this->_tag('ul', $html,
['style' => 'list-style-image:url(' . URL_IMG . 'puce_facette.gif)']);
}
protected function _renderFollowingFacets($type, $facets) {
protected function _renderFollowingFacets($type, $facets, $url) {
$html = '';
foreach($facets as $facet)
$html .= $this->renderLIFacette($url, $facet);
......
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