Commit 4335a60b authored by webchick's avatar webchick
Browse files

#680380 by alpritt: Fixed Shortcut bar not properly adding shortcuts.

parent d9125a1a
...@@ -272,6 +272,7 @@ function shortcut_set_save(&$shortcut_set) { ...@@ -272,6 +272,7 @@ function shortcut_set_save(&$shortcut_set) {
// since other modules may make them editable via the menu system. // since other modules may make them editable via the menu system.
// However, we do need to specify the correct menu name. // However, we do need to specify the correct menu name.
$link['menu_name'] = $shortcut_set->set_name; $link['menu_name'] = $shortcut_set->set_name;
$link['plid'] = 0;
menu_link_save($link); menu_link_save($link);
} }
// Make sure that we have a return value, since if the links were updated // Make sure that we have a return value, since if the links were updated
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment