FIX: Issue #16476 on massaction the pdf generation is not using the thirdparty language settings

This commit is contained in:
Guido Schratzer 2022-09-24 17:58:58 +03:00
parent 0cc2b799ec
commit 322d0955f2

View File

@ -1388,6 +1388,7 @@ if (!$error && $massaction == 'generate_doc' && $permissiontoread) {
foreach ($toselect as $toselectid) {
$result = $objecttmp->fetch($toselectid);
if ($result > 0) {
$objecttmp->fetch_thirdparty(); //load lang from thirdparty
$outputlangs = $langs;
$newlang = '';