Permalink
Browse files

Tweaked Config array merge to support reference

  • Loading branch information...
1 parent 9c57cd3 commit c151b3d6554016a58cc1d210039b8be48153cb9e @dchill42 committed Sep 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/core/Config.php
View
@@ -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);
}
}

0 comments on commit c151b3d

Please sign in to comment.