forked from extern/egroupware
Api - fix typo preventing translation of exception headlines
This commit is contained in:
parent
a83d2d5b52
commit
c0757e5e58
@ -32,7 +32,7 @@ function try_lang($key,$vars=null)
|
||||
$vars = func_get_args();
|
||||
array_shift($vars); // remove $key
|
||||
}
|
||||
return class_exists('EGroupware\Api\Translations',false) ? Api\Translation::translate($key,$vars) : str_replace($varnames,$vars,$key);
|
||||
return class_exists('EGroupware\Api\Translation',false) ? Api\Translation::translate($key,$vars) : str_replace($varnames,$vars,$key);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user