Fixed same error like before

This commit is contained in:
Tim Otte 2020-07-07 12:43:15 +02:00
parent 94a1d71fba
commit a73f77cfef

View File

@ -253,6 +253,9 @@ if (empty($reshook))
}
$model = $object->modelpdf;
$ret = $object->fetch($id); // Reload to get new records
if ($ret > 0) {
$object->fetch_thirdparty();
}
$object->generateDocument($model, $outputlangs, $hidedetails, $hidedesc, $hideref);
}