From b69a992324a31e9df36efaf218bddb3f83ccdd49 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 1 Sep 2020 04:29:57 +0200 Subject: [PATCH] Fix option AGENDA_SUPPORT_PRIORITY_IN_EVENTS --- htdocs/comm/action/card.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php index dcb72cd2a18..c75410f3cbd 100644 --- a/htdocs/comm/action/card.php +++ b/htdocs/comm/action/card.php @@ -1579,9 +1579,11 @@ if ($id > 0) } // Priority - print ''.$langs->trans("Priority").''; - print ''; - print ''; + if (! empty($conf->global->AGENDA_SUPPORT_PRIORITY_IN_EVENTS)) { + print ''.$langs->trans("Priority").''; + print ''; + print ''; + } // Object linked if (!empty($object->fk_element) && !empty($object->elementtype))