Skip to content

Commit

Permalink
Merge pull request #9562 from infograf768/findermenu
Browse files Browse the repository at this point in the history
Regression: Parse error in Smart Search on PHP 5.3.x (Correcting #9561)
  • Loading branch information
wilsonge committed Mar 24, 2016
2 parents 015dcc5 + 710a54b commit a463b85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/com_finder/helpers/html/filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ public static function slider($options = array())
return null;
}

$html .= JHtml::_('bootstrap.startAccordion', 'accordion', array('parent' => true, 'active' => 'accordion-' . array_keys($branches)[0])
$branch_keys = array_keys($branches);
$html .= JHtml::_('bootstrap.startAccordion', 'accordion', array('parent' => true, 'active' => 'accordion-' . $branch_keys[0])
);

// Load plug-in language files.
Expand Down

0 comments on commit a463b85

Please sign in to comment.