FIX: Issue #16476 on massaction the pdf generation is not using the thirdparty language settings
This commit is contained in:
parent
0cc2b799ec
commit
322d0955f2
@ -1388,6 +1388,7 @@ if (!$error && $massaction == 'generate_doc' && $permissiontoread) {
|
|||||||
foreach ($toselect as $toselectid) {
|
foreach ($toselect as $toselectid) {
|
||||||
$result = $objecttmp->fetch($toselectid);
|
$result = $objecttmp->fetch($toselectid);
|
||||||
if ($result > 0) {
|
if ($result > 0) {
|
||||||
|
$objecttmp->fetch_thirdparty(); //load lang from thirdparty
|
||||||
$outputlangs = $langs;
|
$outputlangs = $langs;
|
||||||
$newlang = '';
|
$newlang = '';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user