Skip to content

Commit

Permalink
Tweaked Config array merge to support reference
Browse files Browse the repository at this point in the history
  • Loading branch information
dchill42 committed Sep 4, 2011
1 parent 9c57cd3 commit c151b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/core/Config.php
Expand Up @@ -238,7 +238,7 @@ public function get_ext($_file, $_name, &$_extras)
}

// Merge config and unset local
$_merged = call_user_func($this->merge_arrays, $_merged, &$$_name);
$_merged = call_user_func_array($this->merge_arrays, array($_merged, &$$_name));
unset($$_name);
}
}
Expand Down

0 comments on commit c151b3d

Please sign in to comment.