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))