diff --git a/htdocs/core/lib/company.lib.php b/htdocs/core/lib/company.lib.php
index 2d58e545b41..1d5b5c1b3dc 100644
--- a/htdocs/core/lib/company.lib.php
+++ b/htdocs/core/lib/company.lib.php
@@ -1562,10 +1562,10 @@ function show_actions_done($conf, $langs, $db, $filterobj, $objcon = '', $noprin
$out .= '
| ';
$out .= ' | ';
$out .= '';
- $out .= $formactions->select_type_actions($actioncode, "actioncode", '', empty($conf->global->AGENDA_USE_EVENT_TYPE) ? 1 : -1, 0, !empty($conf->global->AGENDA_USE_MULTISELECT_TYPE) ? 1 : -1, 1);
+ $out .= $formactions->select_type_actions($actioncode, "actioncode", '', empty($conf->global->AGENDA_USE_EVENT_TYPE) ? 1 : -1, 0, (empty($conf->global->AGENDA_USE_MULTISELECT_TYPE) ? 0 : 1), 1);
$out .= ' | ';
$out .= ' | ';
- $out .= ''.$form->selectDateToDate($tms_start, $tms_end, 'dateevent', 1).' | ';
+ $out .= ''.$form->selectDateToDate($tms_start, $tms_end, 'dateevent', 1).' | ';
$out .= ' | ';
$out .= ' | ';
$out .= ' | ';