--- loncom/interface/lonmenu.pm 2004/12/03 22:10:39 1.135 +++ loncom/interface/lonmenu.pm 2004/12/03 23:31:28 1.136 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.135 2004/12/03 22:10:39 albertel Exp $ +# $Id: lonmenu.pm,v 1.136 2004/12/03 23:31:28 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -396,7 +396,7 @@ s&7&1&del.gif&delete[_1]&resource[_2]&go s&7&2&prt.gif&prepare[_1]&printout[_1]&gopost('/adm/printout','/~$uname/$thisdisfn')&Prepare a printable document ENDMENUITEMS } - } else { + } elsif (defined($ENV{'request.course.id'})) { $menuitems=(<