Merge pull request #24750 from Hystepik/develop#2

Fix : makeStripeSepaRequest fatal error
This commit is contained in:
Laurent Destailleur 2023-05-12 18:59:15 +02:00 committed by GitHub
commit 587bf424ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1001,6 +1001,7 @@ abstract class CommonInvoice extends CommonObject
$this->db->begin();
// Create a prelevement_bon
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
$bon = new BonPrelevement($this->db);
if (!$error) {
if (empty($obj->fk_prelevement_bons)) {