Update lang.class.php
This commit is contained in:
parent
1b43034c0e
commit
bf9ba1ad34
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue