This commit is contained in:
ldestailleur
2025-07-22 19:18:31 +02:00
parent 73d8f3b1a9
commit e85886cd5c

View File

@@ -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);