diff --git a/setup.php b/setup.php index 8de675bc..1e10dc81 100644 --- a/setup.php +++ b/setup.php @@ -93,7 +93,7 @@ function plugin_init_flyvemdm() { Html::requireJs('charts'); $PLUGIN_HOOKS['add_css']['flyvemdm'][] = "css/style.css"; - $CFG_GLPI['javascript']['plugins']['pluginflyvemdmmenu']['Menu'] = ['charts']; + $CFG_GLPI['javascript']['admin']['pluginflyvemdmmenu']['Menu'] = ['charts']; } }