Commit 193b23a0 authored by Dave Reid's avatar Dave Reid

Issue #1050766 by chriscalip, jojonaloha | JohnAlbin: Fixed error with Panels...

Issue #1050766 by chriscalip, jojonaloha | JohnAlbin: Fixed error with Panels menu block and a fixed parent mlid.
parent 16cf2791
......@@ -129,6 +129,9 @@ function menu_block_menu_tree_content_type_edit_form_submit(&$form, &$form_state
foreach (array_keys($form_state['subtype']['defaults']) as $key) {
$form_state['conf'][$key] = $form_state['values'][$key];
}
if (!empty($form_state['values']['parent'])) {
list($form_state['conf']['menu_name'], $form_state['conf']['parent_mlid']) = explode(':', $form_state['values']['parent']);
}
}
/**
......
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