From: Janusz Dobrowolski Date: Sun, 25 Jul 2010 15:29:32 +0000 (+0000) Subject: Warning on non existing language version fixed. X-Git-Tag: v2.4.2~19^2~757 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=3e56a49ec2ae170059f74783af052bccea2dc02f;p=fa-stable.git Warning on non existing language version fixed. --- diff --git a/includes/lang/language.php b/includes/lang/language.php index f6a09ded..207bbb95 100644 --- a/includes/lang/language.php +++ b/includes/lang/language.php @@ -51,7 +51,7 @@ class language global $path_to_root, $installed_languages; $lang = array_search_value($code, $installed_languages, 'code'); - $changed = $this->code != $code || $this->version != $lang['version']; + $changed = $this->code != $code || $this->version != @$lang['version']; if ($lang && $changed) {