Closed (fixed)
Project:
OG Menu Single
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2014 at 17:34 UTC
Updated:
21 Nov 2014 at 17:44 UTC
Jump to comment: Most recent
$default = ($link['mlid'] ? $link['menu_name'] . ':' . $link['plid'] : variable_get('menu_parent_' . $type, 'main-menu:0'));
if (isset($form['menu']['link']['parent']['#options'][$default])) {
$form['menu']['link']['parent']['#default_value'] = $default;
}
Comments
Comment #1
hefox commented