* Fixed which menu is presented according to the settings (duh!) [#809546]

This commit is contained in:
Alexis Wilke 2010-05-26 06:10:34 +00:00
parent ea30728ec8
commit e3e87a93d7

View File

@ -282,7 +282,7 @@ function simplemenu_get_menu() {
// if a user turned off menu module but SimpleMenu was previously set // if a user turned off menu module but SimpleMenu was previously set
// reset variable so a menu appears // reset variable so a menu appears
$all_menus = array('navigation:0'); $all_menus = array(variable_get('simplemenu_menu', 'navigation:0'));
drupal_alter('simplemenu_menus', $all_menus); drupal_alter('simplemenu_menus', $all_menus);
if (count($all_menus) > 1) { if (count($all_menus) > 1) {