diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-12-02 15:10:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-12-02 15:10:03 +0000 |
commit | f5253a892a807f4e2f0a3bb6cb3a499696dd3e85 (patch) | |
tree | 8a76e8624e3243693fb29d761970ab28eba1af9e /modules/menu | |
parent | b1a648b3711fd6e3910958897b961806fc1058e9 (diff) | |
download | brdo-f5253a892a807f4e2f0a3bb6cb3a499696dd3e85.tar.gz brdo-f5253a892a807f4e2f0a3bb6cb3a499696dd3e85.tar.bz2 |
- Patch #39440 by Richard: no circular references.
Diffstat (limited to 'modules/menu')
-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 166cf2f0d..033ff049a 100644 --- a/modules/menu/menu.module +++ b/modules/menu/menu.module @@ -622,7 +622,7 @@ function menu_node_form($edit = array()) { $form['menu']['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#default_value' => $item['title'], '#description' => t('The name to display for this link.')); // Generate a list of possible parents (not including this item or descendants). - $options = menu_parent_options($edit['mid']); + $options = menu_parent_options($item['mid']); $form['menu']['pid'] = array('#type' => select, '#title' => t('Parent item'), '#default_value' => $item['pid'], '#options' => $options); $form['menu']['description'] = array('#type' => 'hidden', '#value' => $item['description']); $form['menu']['path'] = array('#type' => 'hidden', '#value' => $item['path']); |