From 1b225706db237cbb2ebebe2330d59c782be69916 Mon Sep 17 00:00:00 2001 From: atm-lena Date: Tue, 1 Sep 2020 14:48:03 +0200 Subject: [PATCH] FIX create remind : dateremind save --- htdocs/comm/action/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;