[LON-CAPA-cvs] cvs: loncom(version_2_6_X) / lond

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Fri, 30 May 2008 21:34:29 -0000


raeburn		Fri May 30 17:34:29 2008 EDT

  Modified files:              (Branch: version_2_6_X)
    /loncom	lond 
  Log:
  Backport 1.402, 1.403 (bug 5720).
  
  
Index: loncom/lond
diff -u loncom/lond:1.394 loncom/lond:1.394.2.1
--- loncom/lond:1.394	Mon Feb 11 13:51:41 2008
+++ loncom/lond	Fri May 30 17:34:27 2008
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.394 2008/02/11 18:51:41 raeburn Exp $
+# $Id: lond,v 1.394.2.1 2008/05/30 21:34:27 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.394 $'; #' stupid emacs
+my $VERSION='$Revision: 1.394.2.1 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -3518,7 +3518,9 @@
                 $is_hash =  0;
                 my @courseitems = split(/:/,$value);
                 $lasttime = pop(@courseitems);
-                next if ($lasttime<$since);
+                if ($hashref->{$lasttime_key} eq '') {
+                    next if ($lasttime<$since);
+                }
 	        ($val{'descr'},$val{'inst_code'},$val{'owner'},$val{'type'}) = @courseitems;
             }
             my $match = 1;