When adding a menu block to a panels page, if "Make the starting level follow the active menu item. " is selected it can never be unselected. I believe it is due to the code here:

    127 function menu_block_menu_tree_content_type_edit_form_submit(&$form, &$form_state) {
    128   foreach (array_keys($form_state['subtype']['defaults']) as $key) {
    129     if (!empty($form_state['values'][$key])) {
    130       $form_state['conf'][$key] = $form_state['values'][$key];
    131    }
    132   }
    133 }

Line 129 will exclude updates from unchecked items.



joel_osc’s picture

Here is a patch which I think will be ok, but needs to be tested.

JohnAlbin’s picture

Version: 7.x-3.x-dev » 7.x-2.x-dev
Status: Active » Closed (duplicate)

Sorry, it's not clearer, but 7.x-3.x is not being actively developed yet. And this bug has been fixed 7.x-2.x already.