diff --git a/inc/field.class.php b/inc/field.class.php index e74c78cd..38216b3f 100644 --- a/inc/field.class.php +++ b/inc/field.class.php @@ -364,7 +364,9 @@ public static function addNewField($table, $field, $after=false) { $name, 'PluginGenericobject'.ucfirst($name), $options ); } - + // Invalidate menu data in current session + unset($_SESSION['glpimenu']); + PluginGenericobjectSingletonObjectField::getInstance($itemtype, true); } }