Merge pull request #14156 from Tim-Otte/fix-proposals-urgent

FIX: Hotfix for "Call to a member function getNomUrl() on null in comm/propal/card.php"
This commit is contained in:
Laurent Destailleur 2020-07-03 00:32:03 +02:00 committed by GitHub
commit 751174a983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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