fix: reminder type label

This commit is contained in:
Florian HENRY 2023-01-09 15:50:55 +01:00
parent deb110d556
commit 6c373c9381

View File

@ -2213,7 +2213,7 @@ if ($id > 0) {
$tmpuserstatic = new User($db);
foreach ($object->reminders as $actioncommreminderid => $actioncommreminder) {
print $TRemindTypes[$actioncommreminder->typeremind];
print $TRemindTypes[$actioncommreminder->typeremind]['label'];
if ($actioncommreminder->fk_user > 0) {
$tmpuserstatic->fetch($actioncommreminder->fk_user);
print ' ('.$tmpuserstatic->getNomUrl(0, '', 0, 0, 16).')';