diff --git a/plugins/export_ui/menu_block.inc b/plugins/export_ui/menu_block.inc index 1062e24..0e09400 100644 --- a/plugins/export_ui/menu_block.inc +++ b/plugins/export_ui/menu_block.inc @@ -168,7 +168,7 @@ function menu_block_export_ui_form(&$form, &$form_state) { $form['parent_mlid'] = array( '#type' => 'select', '#title' => t('Fixed parent item'), - '#default_value' => $form_state['item']->parent, + '#default_value' => $form_state['item']->menu_name . ':' . $form_state['item']->parent_mlid, '#options' => menu_parent_options($menus, array('mlid' => 0)), '#description' => t('Alter the "starting level" and "maximum depth" options to be relative to the fixed parent item. The tree of links will only contain children of the selected menu item.'), '#attributes' => array('class' => array('menu-block-parent-mlid')),