Merge pull request #15625 from atm-florianm/FIX/12.0_error_when_adding_lines_on_order

FIX 12.0 - error when displaying lines on order after adding a new line
This commit is contained in:
Laurent Destailleur 2020-12-03 14:30:25 +01:00 committed by GitHub
commit 35766fb5bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -953,7 +953,8 @@ if (empty($reshook))
if ($result > 0) {
$ret = $object->fetch($object->id); // Reload to get new records
$object->fetch_thirdparty();
if (empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE)) {
// Define output language
$outputlangs = $langs;