forked from ZwiiCMS-Team/ZwiiCMS
Bug de la fonction de traduction
This commit is contained in:
parent
232f0d2b1d
commit
072e6b9ed4
@ -35,7 +35,7 @@ class helper {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
$r = (array_key_exists($text, core::$dialog)) ? core::$dialog[$text] : $text;
|
$r = array_key_exists($text, core::$dialog) && !empty(core::$dialog[$text]) ? core::$dialog[$text] : $text;
|
||||||
return $r;
|
return $r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user