Fix : fatal error in adherent/agenda.php

This commit is contained in:
hystepik 2022-11-26 12:21:50 +01:00
parent ab970d049f
commit 4a0822ef2c

View File

@ -1896,7 +1896,7 @@ function show_actions_done($conf, $langs, $db, $filterobj, $objcon = '', $noprin
if (empty($conf->global->AGENDA_USE_EVENT_TYPE) && empty($arraylist[$labeltype])) {
$labeltype = 'AC_OTH';
}
if (preg_mach('/^TICKET_MSG/', $actionstatic->code)) {
if (preg_match('/^TICKET_MSG/', $actionstatic->code)) {
$labeltype = $langs->trans("Message");
} else {
if (!empty($arraylist[$labeltype])) {