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. :-)
This commit is contained in:
stronk7
2004-02-16 00:41:52 +00:00
parent 0f318c26b4
commit 4866a36714
+1
View File
@@ -1729,6 +1729,7 @@ function navmenu($course, $cm=NULL, $targetwindow="self") {
$previousmod = NULL;
$backmod = NULL;
$nextmod = NULL;
$selectmod = NULL;
$logslink = NULL;
$flag = false;