[LON-CAPA-cvs] cvs: loncom / lond

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 05 Sep 2006 15:35:16 -0000


albertel		Tue Sep  5 11:35:16 2006 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - some courseid history have oddly long entires, so looking for blank rather than definition
  
  
Index: loncom/lond
diff -u loncom/lond:1.341 loncom/lond:1.342
--- loncom/lond:1.341	Thu Aug 31 09:00:50 2006
+++ loncom/lond	Tue Sep  5 11:35:14 2006
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.341 2006/08/31 13:00:50 albertel Exp $
+# $Id: lond,v 1.342 2006/09/05 15:35:14 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.341 $'; #' stupid emacs
+my $VERSION='$Revision: 1.342 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -3454,7 +3454,7 @@
             }
             unless ($typefilter eq '.' || !defined($typefilter)) {
                 my $unescapeType = &unescape($type);
-                if (!defined($type)) {
+                if ($type eq '') {
                     if ($typefilter ne 'Course') {
                         $match = 0;
                     }