Merge pull request #18647 from Hystepik/develop#4
Fix fatal error with php 8.0 holiday creation
This commit is contained in:
commit
722cc5f3f9
@ -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');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user