Update adherent.class.php

This commit is contained in:
Laurent Destailleur 2018-03-19 12:07:08 +01:00 committed by GitHub
parent 9cd5fabba8
commit 5a98958280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1614,7 +1614,7 @@ class Adherent extends CommonObject
// Generate PDF (whatever is option MAIN_DISABLE_PDF_AUTOUPDATE) so we can include it into email
//if (empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE))
$invoice->generateDocument($invoice->modelpdf, $outputlangs, 0, 0, 0);
$invoice->generateDocument($invoice->modelpdf, $outputlangs);
}
}