From ed988b257cdad0ea74bfa4fbc105c47524ad0dae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 5 Apr 2011 14:00:10 +0200 Subject: [PATCH] Explicitely state GLOBALS here, though it should not be needed --- libraries/select_lang.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/select_lang.lib.php b/libraries/select_lang.lib.php index 00736f1cb..2751df3e5 100644 --- a/libraries/select_lang.lib.php +++ b/libraries/select_lang.lib.php @@ -477,7 +477,7 @@ if (! function_exists('__')) { $charset = 'utf-8'; /* l10n: Text direction, use either ltr or rtl */ -$text_dir = __('ltr'); +$GLOBALS['text_dir'] = __('ltr'); // now, that we have loaded the language strings we can send the errors if ($GLOBALS['lang_failed_cfg']) { -- 2.11.4.GIT