diff --git a/htdocs/core/lib/admin.lib.php b/htdocs/core/lib/admin.lib.php index ae66675446251..c87052b9774db 100644 --- a/htdocs/core/lib/admin.lib.php +++ b/htdocs/core/lib/admin.lib.php @@ -2090,6 +2090,11 @@ function company_admin_prepare_head() $head[$h][2] = 'company'; $h++; + $head[$h][0] = DOL_URL_ROOT."/admin/company_socialnetworks.php"; + $head[$h][1] = $langs->trans("SocialNetworksInformation"); + $head[$h][2] = 'socialnetworks'; + + $h++; $head[$h][0] = DOL_URL_ROOT."/admin/openinghours.php"; $head[$h][1] = $langs->trans("OpeningHours"); $head[$h][2] = 'openinghours'; @@ -2100,11 +2105,6 @@ function company_admin_prepare_head() $head[$h][2] = 'accountant'; $h++; - $head[$h][0] = DOL_URL_ROOT."/admin/company_socialnetworks.php"; - $head[$h][1] = $langs->trans("SocialNetworksInformation"); - $head[$h][2] = 'socialnetworks'; - $h++; - complete_head_from_modules($conf, $langs, null, $head, $h, 'mycompany_admin', 'add'); complete_head_from_modules($conf, $langs, null, $head, $h, 'mycompany_admin', 'remove');