diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-11 00:06:58 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-11 00:06:58 +0000 |
commit | 0d2db0ee3cef60d1a3e79c7dc8162e97a66d43c7 (patch) | |
tree | dee41cf88a8e4911dc3656f91c44dacfc124cb2b /modules | |
parent | 00dafaced016527d714c7727c5fa72556fd5b907 (diff) | |
download | brdo-0d2db0ee3cef60d1a3e79c7dc8162e97a66d43c7.tar.gz brdo-0d2db0ee3cef60d1a3e79c7dc8162e97a66d43c7.tar.bz2 |
#609122 by fabsor: Fix 404 errors when adding certain pages as shortcuts.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/shortcut/shortcut.module | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/shortcut/shortcut.module b/modules/shortcut/shortcut.module index a8c24651b..ab78a459f 100644 --- a/modules/shortcut/shortcut.module +++ b/modules/shortcut/shortcut.module @@ -263,10 +263,8 @@ function shortcut_set_save(&$shortcut_set) { $shortcut_set->set_name = shortcut_set_get_unique_name(); $return = drupal_write_record('shortcut_set', $shortcut_set); } - // If links were provided for the set, save them, replacing any that were - // there before. + // If links were provided for the set, save them. if (isset($shortcut_set->links)) { - menu_delete_links($shortcut_set->set_name); foreach ($shortcut_set->links as &$link) { // Do not specifically associate these links with the shortcut module, // since other modules may make them editable via the menu system. |