Merge pull request #23015 from Hystepik/develop#2
Fix : fatal error in adherent/agenda.php
This commit is contained in:
commit
d9d401069c
@ -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])) {
|
if (empty($conf->global->AGENDA_USE_EVENT_TYPE) && empty($arraylist[$labeltype])) {
|
||||||
$labeltype = 'AC_OTH';
|
$labeltype = 'AC_OTH';
|
||||||
}
|
}
|
||||||
if (preg_mach('/^TICKET_MSG/', $actionstatic->code)) {
|
if (preg_match('/^TICKET_MSG/', $actionstatic->code)) {
|
||||||
$labeltype = $langs->trans("Message");
|
$labeltype = $langs->trans("Message");
|
||||||
} else {
|
} else {
|
||||||
if (!empty($arraylist[$labeltype])) {
|
if (!empty($arraylist[$labeltype])) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user