Initilize selectmod in navmenu() function to avoid some warnings when showing the menu and no cm has been selected. No risk with this change, I suppose. :-)
Initilize selectmod in navmenu() function to avoid some warnings
when showing the menu and no cm has been selected. No risk with this
change, I suppose. :-)

dilawar/moodle