diff --git a/htdocs/core/lib/agenda.lib.php b/htdocs/core/lib/agenda.lib.php index e66d24e576e..40d1e043c1d 100644 --- a/htdocs/core/lib/agenda.lib.php +++ b/htdocs/core/lib/agenda.lib.php @@ -386,14 +386,14 @@ function agenda_prepare_head() $head[$h][2] = 'other'; $h++; - complete_head_from_modules($conf,$langs,$object,$head,$h,'agenda_admin'); + complete_head_from_modules($conf,$langs,null,$head,$h,'agenda_admin'); $head[$h][0] = DOL_URL_ROOT."/admin/agenda_extrafields.php"; $head[$h][1] = $langs->trans("ExtraFields"); $head[$h][2] = 'attributes'; $h++; - complete_head_from_modules($conf,$langs,$object,$head,$h,'agenda_admin','remove'); + complete_head_from_modules($conf,$langs,null,$head,$h,'agenda_admin','remove'); return $head;