Fix type of argument for usleep

This commit is contained in:
MDW 2024-03-18 22:05:48 +01:00
parent 1933349eb0
commit 9958fde08a
No known key found for this signature in database

View file

@ -411,7 +411,7 @@ if (empty($reshook)) {
if (getDolGlobalString('MAILING_DELAY')) {
dol_syslog("Wait a delay of MAILING_DELAY=".((float) $conf->global->MAILING_DELAY));
usleep((float) $conf->global->MAILING_DELAY * 1000000);
usleep((int) ((float) $conf->global->MAILING_DELAY * 1000000));
}
//test if CHECK READ change statut prospect contact