From e3a59df32bf094881cc5ed3083e0d8f1e5697999 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Fri, 30 Jul 2010 08:41:27 +0000 Subject: [PATCH] Warning ceanup. --- includes/lang/language.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/lang/language.php b/includes/lang/language.php index 207bbb95..1ec47d17 100644 --- a/includes/lang/language.php +++ b/includes/lang/language.php @@ -61,7 +61,7 @@ class language $this->name = $lang['name']; $this->code = $lang['code']; $this->encoding = $lang['encoding']; - $this->version = $lang['version']; + $this->version = @$lang['version']; $this->dir = isset($lang['rtl']) ? 'rtl' : 'ltr'; $locale = $path_to_root . "/lang/" . $this->code . "/locale.inc"; $this->is_locale_file = file_exists($locale); -- 2.30.2