Merge pull request #18647 from Hystepik/develop#4

Fix fatal error with php 8.0 holiday creation
This commit is contained in:
Laurent Destailleur 2021-09-09 03:06:54 +02:00 committed by GitHub
commit 722cc5f3f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -925,7 +925,7 @@ if ((empty($id) && empty($ref)) || $action == 'create' || $action == 'add') {
}
$delayForRequest = $object->getConfCP('delayForRequest');
$delayForRequest = $object->getConfCP('delayForRequest', 1);
//$delayForRequest = $delayForRequest * (60*60*24);
$nextMonth = dol_time_plus_duree($now, $delayForRequest, 'd');