Merge pull request #14196 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-10 02:51:25 +02:00 committed by GitHub
commit b6452dbbc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}