Skip to content

Commit

Permalink
Correcting #9561
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Mar 24, 2016
1 parent 015dcc5 commit 710a54b
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 710a54b

Please sign in to comment.