diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php index c75410f3cbd..994613db8b1 100644 --- a/htdocs/comm/action/card.php +++ b/htdocs/comm/action/card.php @@ -405,7 +405,7 @@ if (empty($reshook) && $action == 'add') $dateremind = dol_time_plus_duree($datep, -$offsetvalue, 'y'); } - $actionCommReminder->dateremind = $db->idate($dateremind); + $actionCommReminder->dateremind = $dateremind; $actionCommReminder->typeremind = $remindertype; $actionCommReminder->fk_user = $user; $actionCommReminder->offsetunit = $offsetunit;