Update bonprelevement.class.php

This commit is contained in:
Frédéric FRANCE 2022-09-26 11:46:07 +02:00 committed by GitHub
parent 744d1b0218
commit 50c60c8f34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -766,8 +766,8 @@ class BonPrelevement extends CommonObject
$datetimeprev = $executiondate;
}
$month = dol_print_date("%m", $datetimeprev, 'gmt');
$year = dol_print_date("%Y", $datetimeprev, 'gmt');
$month = dol_print_date($datetimeprev, "%m", 'gmt');
$year = dol_print_date($datetimeprev, "%Y", 'gmt');
$this->invoice_in_error = array();
$this->thirdparty_in_error = array();