Skip to content

Commit

Permalink
invalidate menu when adding a field to an item; see #52
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Sep 30, 2015
1 parent d834916 commit 4da6dfc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inc/field.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 4da6dfc

Please sign in to comment.