diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-29 09:12:03 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-29 09:12:03 +0000 |
commit | bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2 (patch) | |
tree | cec3f6333255ce0632498c8594bd56c67a140726 /modules/menu/menu.module | |
parent | ad0e8b5615f4585f78ccbe27912c2545875a77f1 (diff) | |
download | brdo-bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2.tar.gz brdo-bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2.tar.bz2 |
#80574 Eaton and chx. Replace $_POST['edit'] with $_POST.
Diffstat (limited to 'modules/menu/menu.module')
-rw-r--r-- | modules/menu/menu.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/menu/menu.module b/modules/menu/menu.module index e8c413585..936bdbd62 100644 --- a/modules/menu/menu.module +++ b/modules/menu/menu.module @@ -188,7 +188,7 @@ function menu_perm() { */ function menu_form_alter($form_id, &$form) { if (isset($form['type']) && $form['type']['#value'] .'_node_form' == $form_id) { - $edit = isset($_POST['edit']) ? $_POST['edit'] : ''; + $edit = isset($_POST) ? $_POST : ''; $edit['nid'] = $form['nid']['#value']; $item = array(); |