summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-10 22:21:20 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-10 22:21:20 +0000
commit4335a60b97a0ee0ca6be3e1aec14482e9aaaee8f (patch)
treec3ea235212b343de40d72fb6c1456a04a841e48c
parentd9125a1a46b38d25a7086d477564c9e48dcc7239 (diff)
downloadbrdo-4335a60b97a0ee0ca6be3e1aec14482e9aaaee8f.tar.gz
brdo-4335a60b97a0ee0ca6be3e1aec14482e9aaaee8f.tar.bz2
#680380 by alpritt: Fixed Shortcut bar not properly adding shortcuts.
-rw-r--r--modules/shortcut/shortcut.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shortcut/shortcut.module b/modules/shortcut/shortcut.module
index 00c40597f..a8c24651b 100644
--- a/modules/shortcut/shortcut.module
+++ b/modules/shortcut/shortcut.module
@@ -272,6 +272,7 @@ function shortcut_set_save(&$shortcut_set) {
// since other modules may make them editable via the menu system.
// However, we do need to specify the correct menu name.
$link['menu_name'] = $shortcut_set->set_name;
+ $link['plid'] = 0;
menu_link_save($link);
}
// Make sure that we have a return value, since if the links were updated