Merge pull request #23468 from FHenry/16_fix_reminder_type_label

fix: reminder type label on Actioncomm Card
This commit is contained in:
Laurent Destailleur 2023-01-18 23:41:18 +01:00 committed by GitHub
commit 6d8851d1e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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).')';