From 4335a60b97a0ee0ca6be3e1aec14482e9aaaee8f Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 10 Jan 2010 22:21:20 +0000 Subject: [PATCH] #680380 by alpritt: Fixed Shortcut bar not properly adding shortcuts. --- modules/shortcut/shortcut.module | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/shortcut/shortcut.module b/modules/shortcut/shortcut.module index 00c40597f5b..a8c24651bac 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