mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
- Function tr() : erreur dans le précédent commit.
This commit is contained in:
parent
a6e66a3a69
commit
f4ee9bdc42
1 changed files with 6 additions and 1 deletions
|
@ -437,7 +437,12 @@ function LSdebugDefined() {
|
|||
$val = $GLOBALS['Smarty']->get_template_vars($msg);
|
||||
if (!$val)
|
||||
$val=$msg;
|
||||
echo __($val);
|
||||
if (is_array($val)) {
|
||||
echo __($val[$key]);
|
||||
}
|
||||
else {
|
||||
echo __($val);
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue