--- loncom/lond 2008/06/26 19:54:15 1.404 +++ loncom/lond 2008/06/26 23:51:59 1.405 @@ -2,7 +2,7 @@ # The LearningOnline Network # lond "LON Daemon" Server (port "LOND" 5663) # -# $Id: lond,v 1.404 2008/06/26 19:54:15 raeburn Exp $ +# $Id: lond,v 1.405 2008/06/26 23:51:59 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -59,7 +59,7 @@ my $DEBUG = 0; # Non zero to ena my $status=''; my $lastlog=''; -my $VERSION='$Revision: 1.404 $'; #' stupid emacs +my $VERSION='$Revision: 1.405 $'; #' stupid emacs my $remoteVERSION; my $currenthostid="default"; my $currentdomainid; @@ -3724,8 +3724,8 @@ sub dump_course_id_handler { next if ($items->{'category'} ne $catfilter); } if ($caller eq 'coursecatalog') { - if (!$showhidden) { - next if ($items->{'hidefromcat'}); + if ($items->{'hidefromcat'} eq 'yes') { + next if !$showhidden; } } } else {