diff -Naur jquerymenu/jquerymenu.module jquerymenu-new/jquerymenu.module --- jquerymenu/jquerymenu.module 2009-02-17 21:51:36.000000000 +0000 +++ jquerymenu-new/jquerymenu.module 2009-03-29 20:35:22.000000000 +0100 @@ -163,14 +163,17 @@ } function theme_menu_creation_by_array($tree, $trail) { - //We create the shell to hold the menu outside the recursive function. - // Add a div that only shows up for that pesky IE so that we can style it into obedience. - $output = ''; - $output .= ''; - $output .= ''; - return $output; + $menu_output = recursive_link_creator($tree, $trail); + if($menu_output) { + //We create the shell to hold the menu outside the recursive function. + // Add a div that only shows up for that pesky IE so that we can style it into obedience. + $output = ''; + $output .= ''; + $output .= ''; + return $output; + } } function jqmenu_trail_creator() {