Update lang.class.php

This commit is contained in:
Miroslav Šedivý 2020-08-24 21:50:00 +02:00 committed by GitHub
parent 1b43034c0e
commit bf9ba1ad34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ class Lang
}
public static function get($key){
if(!array_key_exists($key, self::$_dictionary)){
if(!@array_key_exists($key, self::$_dictionary)){
return $key;
}
@ -25,4 +25,4 @@ class Lang
function __($key){
return Lang::get($key);
}
}