Skip to content

Commit

Permalink
Use array_merge instead of + to keep keyed arrays from overwriting ea…
Browse files Browse the repository at this point in the history
…ch other
  • Loading branch information
johnpbloch committed Jun 3, 2012
1 parent 36d2652 commit d464818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Class/MenuBuddy/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function send()
}
else
{
$this->{$type} = $files + $this->{$type};
$this->{$type} = array_merge( $files, $this->{$type} );
}
}
$layout = new \Core\View( $this->template );
Expand Down

0 comments on commit d464818

Please sign in to comment.