--- loncom/interface/lonhtmlcommon.pm 2004/04/16 15:06:56 1.65
+++ loncom/interface/lonhtmlcommon.pm 2004/04/19 16:43:03 1.66
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.65 2004/04/16 15:06:56 albertel Exp $
+# $Id: lonhtmlcommon.pm,v 1.66 2004/04/19 16:43:03 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -952,7 +952,7 @@ returns: nothing
#
# The first one should be the course, I guess.
if (!defined($menulink)) { $menulink=1; }
- if ($menulink && exists($ENV{'request.course.id'})) {
+ if ($menulink && exists($ENV{'request.course.id'}) && $ENV{'request.course.id'} ne '') {
my $cid = $ENV{'request.course.id'};
unshift(@Crumbs,{
href=>'/adm/menu',