aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys/translation.php
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/sys/translation.php')
-rw-r--r--ratatoeskr/sys/translation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatoeskr/sys/translation.php b/ratatoeskr/sys/translation.php
index 30f32e3..5a763ce 100644
--- a/ratatoeskr/sys/translation.php
+++ b/ratatoeskr/sys/translation.php
@@ -58,7 +58,7 @@ function load_language($lang=null)
*/
$lang = implode("", array_filter(str_split($lang, 1), "ctype_alpha"));
- require(dirname(__FILE__) . "/../translations/$lang.php");
+ $translation = require(dirname(__FILE__) . "/../translations/$lang.php");
$GLOBALS["translation"] = $translation;
}