Index: block_site_main_menu.php =================================================================== RCS file: /cvsroot/moodle/moodle/blocks/site_main_menu/block_site_main_menu.php,v retrieving revision 1.26.2.1 diff -u -r1.26.2.1 block_site_main_menu.php --- block_site_main_menu.php 24 Jan 2008 20:29:40 -0000 1.26.2.1 +++ block_site_main_menu.php 25 Jan 2008 15:50:12 -0000 @@ -159,7 +159,7 @@ $this->content->icons[] = ''; } - if ($modnames) { + if (!empty($modnames)) { $this->content->footer = print_section_add_menus($course, 0, $modnames, true, true); } else { $this->content->footer = '';