forked from Wavyzz/dolibarr
FIX #34776
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user