FIX create remind : dateremind save

This commit is contained in:
atm-lena 2020-09-01 14:48:03 +02:00
parent b69a992324
commit 1b225706db

View File

@ -405,7 +405,7 @@ if (empty($reshook) && $action == 'add')
$dateremind = dol_time_plus_duree($datep, -$offsetvalue, 'y'); $dateremind = dol_time_plus_duree($datep, -$offsetvalue, 'y');
} }
$actionCommReminder->dateremind = $db->idate($dateremind); $actionCommReminder->dateremind = $dateremind;
$actionCommReminder->typeremind = $remindertype; $actionCommReminder->typeremind = $remindertype;
$actionCommReminder->fk_user = $user; $actionCommReminder->fk_user = $user;
$actionCommReminder->offsetunit = $offsetunit; $actionCommReminder->offsetunit = $offsetunit;