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

raeburn raeburn@source.lon-capa.org
Wed, 13 May 2009 03:01:49 -0000


raeburn		Wed May 13 03:01:49 2009 EDT

  Modified files:              (Branch: version_2_8_X)
    /loncom	lond 
  Log:
  - Backport 1.415
  
  
Index: loncom/lond
diff -u loncom/lond:1.410 loncom/lond:1.410.2.1
--- loncom/lond:1.410	Fri Jan  2 23:07:45 2009
+++ loncom/lond	Wed May 13 03:01:49 2009
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.410 2009/01/02 23:07:45 raeburn Exp $
+# $Id: lond,v 1.410.2.1 2009/05/13 03:01:49 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.410 $'; #' stupid emacs
+my $VERSION='$Revision: 1.410.2.1 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -4309,12 +4309,12 @@
             my ($start,$end) = split(/:/,&unescape($value));
             my ($trole,$uname,$udom,$runame,$rudom,$rsec) = split(/:/,&unescape($key));
             unless ($startfilter eq '.' || !defined($startfilter)) {
-                if ($start >= $startfilter) {
+                if ((defined($start)) && ($start >= $startfilter)) {
                     $match = 0;
                 }
             }
             unless ($endfilter eq '.' || !defined($endfilter)) {
-                if ($end <= $endfilter) {
+                if ((defined($end)) && ($end <= $endfilter)) {
                     $match = 0;
                 }
             }