diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-08-30 15:17:49 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-08-30 15:17:49 +0000 |
commit | 6462b1397a51d9c36c2950d33bd41e0577627220 (patch) | |
tree | 361cb6748fe422b490a8703533d9157fd16c8a64 | |
parent | 67277062eef15707a17786f8dd797dff4b82a359 (diff) | |
download | brdo-6462b1397a51d9c36c2950d33bd41e0577627220.tar.gz brdo-6462b1397a51d9c36c2950d33bd41e0577627220.tar.bz2 |
- Patch #80489 by timcn: fixed problem with resetting menu items.
-rw-r--r-- | modules/menu/menu.module | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/menu/menu.module b/modules/menu/menu.module index 9bb693e01..773077dfd 100644 --- a/modules/menu/menu.module +++ b/modules/menu/menu.module @@ -73,7 +73,8 @@ function menu_menu($may_cache) { 'type' => MENU_CALLBACK); $items[] = array('path' => 'admin/build/menu/item/reset', 'title' => t('reset menu item'), - 'callback' => 'menu_reset_item', + 'callback' => 'drupal_get_form', + 'callback arguments' => array('menu_reset_item'), 'access' => user_access('administer menu'), 'type' => MENU_CALLBACK); $items[] = array('path' => 'admin/build/menu/item/disable', |