This commit is contained in:
thibdrev 2024-01-18 17:43:26 +01:00 committed by GitHub
parent 5fbced083b
commit b44dc2a3f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -232,7 +232,7 @@ if (empty($reshook)) {
// Get first contract linked to invoice used to generate template (facid is id of source invoice)
if (GETPOSTINT('facid') > 0) {
$srcObject = new Facture($db);
$srcObject->fetch(GETPOSTINT('facid');
$srcObject->fetch(GETPOSTINT('facid'));
$srcObject->fetchObjectLinked();