--- loncom/lond 2008/05/30 19:53:16 1.402 +++ loncom/lond 2008/05/30 21:33:21 1.403 @@ -2,7 +2,7 @@ # The LearningOnline Network # lond "LON Daemon" Server (port "LOND" 5663) # -# $Id: lond,v 1.402 2008/05/30 19:53:16 raeburn Exp $ +# $Id: lond,v 1.403 2008/05/30 21:33:21 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.402 $'; #' stupid emacs +my $VERSION='$Revision: 1.403 $'; #' stupid emacs my $remoteVERSION; my $currenthostid="default"; my $currentdomainid; @@ -3717,8 +3717,8 @@ sub dump_course_id_handler { next if ($selfenrollonly); $is_hash = 0; my @courseitems = split(/:/,$value); + $lasttime = pop(@courseitems); if ($hashref->{$lasttime_key} eq '') { - $lasttime = pop(@courseitems); next if ($lasttime<$since); } ($val{'descr'},$val{'inst_code'},$val{'owner'},$val{'type'}) = @courseitems;