diff --git a/htdocs/lib/agenda.lib.php b/htdocs/lib/agenda.lib.php index 92765d92644..13239d06e8f 100644 --- a/htdocs/lib/agenda.lib.php +++ b/htdocs/lib/agenda.lib.php @@ -311,12 +311,14 @@ function agenda_prepare_head() $head[$h][1] = $langs->trans("Export"); $head[$h][2] = 'xcal'; $h++; - - $head[$h][0] = DOL_URL_ROOT."/admin/agenda_extsites.php"; - $head[$h][1] = $langs->trans("ExtSites"); - $head[$h][2] = 'extsites'; - $h++; - + + if ($conf->global->MAIN_FEATURES_LEVEL >= 2) // In dev version only for the moment + { + $head[$h][0] = DOL_URL_ROOT."/admin/agenda_extsites.php"; + $head[$h][1] = $langs->trans("ExtSites"); + $head[$h][2] = 'extsites'; + $h++; + } return $head; }