summaryrefslogtreecommitdiffstats
path: root/system/core/Lang.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-01-10 15:09:55 +0100
committerAndrey Andreev <narf@bofh.bg>2012-01-10 15:09:55 +0100
commit4b13061308301cd307fe5317604265ab934fb046 (patch)
tree7e408ba7b865dac429761850f017b695bd51d3f7 /system/core/Lang.php
parente9a5a862a1252548b463aa738e50e8d9bfd01379 (diff)
Fixed a bug in CI_Lang::load()
Diffstat (limited to 'system/core/Lang.php')
-rwxr-xr-xsystem/core/Lang.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Lang.php b/system/core/Lang.php
index 088cb6c9c..c40a6856e 100755
--- a/system/core/Lang.php
+++ b/system/core/Lang.php
@@ -130,7 +130,7 @@ class CI_Lang {
}
$this->is_loaded[] = $langfile;
- $this->language = $this->language + $lang;
+ $this->language = array_merge($this->language, $lang);
unset($lang);
log_message('debug', 'Language file loaded: language/'.$idiom.'/'.$langfile);