mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
Translation : fix error when trying to translate empty string
This commit is contained in:
parent
baeea8d670
commit
7a02fb0ad4
1 changed files with 1 additions and 0 deletions
|
@ -473,6 +473,7 @@ function LSdebugDefined() {
|
|||
}
|
||||
|
||||
function __($msg) {
|
||||
if (empty($msg)) return $msg;
|
||||
if (isset($GLOBALS['LSlang'][$msg])) {
|
||||
return $GLOBALS['LSlang'][$msg];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue