Skip to content

Commit

Permalink
PHP 7.2 fix for issue #519
Browse files Browse the repository at this point in the history
  • Loading branch information
David McReynolds committed Nov 20, 2018
1 parent a76b59c commit e8da468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuel/modules/fuel/libraries/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ protected function _render_basic($menu, $level = -1)
if (!empty($this->container_tag_id) AND $level == -1) $str .= " id=\"".$this->container_tag_id."\"";
if (!empty($container_class)) $str .= " class=\"".$container_class."\"";
if (!empty($this->container_tag)) $str .= ">\n";
$active_index = (count($this->_active_items) -1) - $level;
$active_index = (count((array)$this->_active_items) -1) - $level;
$level = $level + 1;
$i = 0;

Expand Down

0 comments on commit e8da468

Please sign in to comment.