From d55551ee3cd4e0e220817cca227e7d5b222d33c9 Mon Sep 17 00:00:00 2001 From: Liammer <104431491+Liammer@users.noreply.github.com> Date: Thu, 11 Sep 2025 12:52:22 +0200 Subject: [PATCH] Add "__EVENT_DESCRIPTION__" variable (#35302) To be able to add the event's description in reminder emails. --- htdocs/core/lib/functions.lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 133c36832a0..48b02f0e95d 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -10543,6 +10543,7 @@ function getCommonSubstitutionArray($outputlangs, $onlykey = 0, $exclude = null, '@phan-var-force ActionComm $object'; /** @var ActionComm $object */ $substitutionarray['__EVENT_LABEL__'] = $object->label; + $substitutionarray['__EVENT_DESCRIPTION__'] = $object->note; $substitutionarray['__EVENT_TYPE__'] = $outputlangs->trans("Action" . $object->type_code); $substitutionarray['__EVENT_DATE__'] = dol_print_date($object->datep, 'day', 'auto', $outputlangs); $substitutionarray['__EVENT_TIME__'] = dol_print_date($object->datep, 'hour', 'auto', $outputlangs);