- Patch #80489 by timcn: fixed problem with resetting menu items.
parent
67277062ee
commit
6462b1397a
|
@ -73,7 +73,8 @@ function menu_menu($may_cache) {
|
||||||
'type' => MENU_CALLBACK);
|
'type' => MENU_CALLBACK);
|
||||||
$items[] = array('path' => 'admin/build/menu/item/reset',
|
$items[] = array('path' => 'admin/build/menu/item/reset',
|
||||||
'title' => t('reset menu item'),
|
'title' => t('reset menu item'),
|
||||||
'callback' => 'menu_reset_item',
|
'callback' => 'drupal_get_form',
|
||||||
|
'callback arguments' => array('menu_reset_item'),
|
||||||
'access' => user_access('administer menu'),
|
'access' => user_access('administer menu'),
|
||||||
'type' => MENU_CALLBACK);
|
'type' => MENU_CALLBACK);
|
||||||
$items[] = array('path' => 'admin/build/menu/item/disable',
|
$items[] = array('path' => 'admin/build/menu/item/disable',
|
||||||
|
|
Loading…
Reference in New Issue