check for null in language
This commit is contained in:
parent
07d5869a1a
commit
b54509ba51
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class Lang
|
|||
}
|
||||
|
||||
public static function get($key){
|
||||
if(!is_array(self::$_dictionary) || !array_key_exists($key, self::$_dictionary)){
|
||||
if(is_null(self::$_dictionary) || !array_key_exists($key, self::$_dictionary)){
|
||||
return $key;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue