aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/language_switch
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/language_switch')
-rw-r--r--plugins/language_switch/language_switch.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/language_switch/language_switch.inc.php b/plugins/language_switch/language_switch.inc.php
index baaa0375a..d69db1c5e 100644
--- a/plugins/language_switch/language_switch.inc.php
+++ b/plugins/language_switch/language_switch.inc.php
@@ -57,11 +57,11 @@ function language_switch()
// Reload language only if it isn't the same one
if ( $same !== $user['language'])
{
- load_language('common.lang', '', $user['language']);
- load_language('local.lang', '', $user['language']);
+ load_language('common.lang', '', array('language'=>$user['language']) );
+ load_language('local.lang', '', array('language'=>$user['language'], 'no_fallback'=>true) );
if (defined('IN_ADMIN') and IN_ADMIN)
{
- load_language('admin.lang', '', $user['language']);
+ load_language('admin.lang', '', array('language'=>$user['language']) );
}
}
}