diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 23ef3e9a43c..b79873f9f23 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -242,7 +242,7 @@ $param.='&year='.$year.'&month='.$month.($day?'&day='.$day:''); $head = calendars_prepare_head(''); dol_fiche_head($head, 'card', $langs->trans('Events'), 0, $picto); -print_actions_filter($form,$canedit,$status,$year,$month,$day,$showborthday,$filtera,$filtert,$filterd,$pid,$socid); +print_actions_filter($form,$canedit,$status,$year,$month,$day,$showbirthday,$filtera,$filtert,$filterd,$pid,$socid); dol_fiche_end(); // Add link to show birthdays diff --git a/htdocs/comm/action/listactions.php b/htdocs/comm/action/listactions.php index 6860ef2bb2e..f0ca649adf7 100644 --- a/htdocs/comm/action/listactions.php +++ b/htdocs/comm/action/listactions.php @@ -190,7 +190,7 @@ if ($resql) $head = calendars_prepare_head(''); dol_fiche_head($head, 'card', $langs->trans('Events'), 0, 'list'); - print_actions_filter($form,$canedit,$status,$year,$month,$day,$showborthday,$filtera,$filtert,$filterd,$pid,$socid); + print_actions_filter($form,$canedit,$status,$year,$month,$day,$showbirthday,$filtera,$filtert,$filterd,$pid,$socid); dol_fiche_end(); // Add link to show birthdays diff --git a/htdocs/lib/agenda.lib.php b/htdocs/lib/agenda.lib.php index 4f79639b6c6..b12e081d845 100644 --- a/htdocs/lib/agenda.lib.php +++ b/htdocs/lib/agenda.lib.php @@ -34,14 +34,14 @@ * @param $year * @param $month * @param $day - * @param $showborthday + * @param $showbirthday * @param $filtera * @param $filtert * @param $filterd * @param $pid * @param $socid */ -function print_actions_filter($form,$canedit,$status,$year,$month,$day,$showborthday,$filtera,$filtert,$filterd,$pid,$socid) +function print_actions_filter($form,$canedit,$status,$year,$month,$day,$showbirthday,$filtera,$filtert,$filterd,$pid,$socid) { global $conf,$langs;