FIX #34776
This commit is contained in:
parent
73d8f3b1a9
commit
e85886cd5c
1 changed files with 0 additions and 3 deletions
|
|
@ -1242,9 +1242,6 @@ if (empty($reshook)) {
|
|||
$user->fetch($object->fk_user_author);
|
||||
$newlang = $user->lang;
|
||||
}
|
||||
if (empty($newlang)) {
|
||||
$newlang = $langs->defaultlang;
|
||||
}
|
||||
if (!empty($newlang)) {
|
||||
$outputlangs = new Translate("", $conf);
|
||||
$outputlangs->setDefaultLang($newlang);
|
||||
|
|
|
|||
Loading…
Reference in a new issue