Fix type of argument for usleep
This commit is contained in:
parent
1933349eb0
commit
9958fde08a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue