Hi, I have e three level menu, like:

- A
-- B
--- C
--- D

I created a control panel block, chose "B" as Source menu item and when I view the block, the block is empty.
Trying to debug the code I found that at line there is 122:

      if (is_array($below) && (count($panel_menu['below']) > 0)) return $below;

but $panel_menu is undefined. I tried to substitute $panel_menu['below'] with $below, like this:

      if (is_array($below) && (count($below) > 0)) return $below;

And it seems to work, I provide a patch. Is it a correct solution?

CommentFileSizeAuthor
controlpanel_three_level_menu.patch521 bytesmatteogeco
Support from Acquia helps fund testing for Drupal Acquia logo