Merge pull request #25754 from Hystepik/fix-#25752-fatal-error

Fix #25752 fatal error on supplier payment
This commit is contained in:
Laurent Destailleur 2023-08-31 18:51:07 +02:00 committed by GitHub
commit 713591e323
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7072,7 +7072,7 @@ class Form
$arrayofdateof = $adddateof;
}
foreach ($arrayofdateof as $valuedateof) {
$tmpadddateof = $valuedateof['adddateof'];
$tmpadddateof = $valuedateof['adddateof'] != '' ? $valuedateof['adddateof'] : 0;
$tmplabeladddateof = $valuedateof['labeladddateof'];
$tmparray = dol_getdate($tmpadddateof);
if (empty($tmplabeladddateof)) {