Commit 07c2ef32 authored by Dries's avatar Dries
Browse files

- Patch #44499 by Neil: missing quotes.

parent 11b9259d
...@@ -686,7 +686,7 @@ function menu_form_alter($form_id, &$form) { ...@@ -686,7 +686,7 @@ function menu_form_alter($form_id, &$form) {
$options = menu_parent_options($item['mid'], variable_get('menu_parent_items', 0)); $options = menu_parent_options($item['mid'], variable_get('menu_parent_items', 0));
$form['menu']['pid'] = array( $form['menu']['pid'] = array(
'#type' => select, '#type' => 'select',
'#title' => t('Parent item'), '#title' => t('Parent item'),
'#default_value' => $item['pid'], '#default_value' => $item['pid'],
'#options' => $options, '#options' => $options,
......
...@@ -686,7 +686,7 @@ function menu_form_alter($form_id, &$form) { ...@@ -686,7 +686,7 @@ function menu_form_alter($form_id, &$form) {
$options = menu_parent_options($item['mid'], variable_get('menu_parent_items', 0)); $options = menu_parent_options($item['mid'], variable_get('menu_parent_items', 0));
$form['menu']['pid'] = array( $form['menu']['pid'] = array(
'#type' => select, '#type' => 'select',
'#title' => t('Parent item'), '#title' => t('Parent item'),
'#default_value' => $item['pid'], '#default_value' => $item['pid'],
'#options' => $options, '#options' => $options,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment