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

raeburn raeburn@source.lon-capa.org
Wed, 21 Oct 2009 16:14:24 -0000


raeburn		Wed Oct 21 16:14:24 2009 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - Pick course search needs to return courses which have a stored creation 
    date/creator, even though there is no filter for this.
  
  
Index: loncom/lond
diff -u loncom/lond:1.430 loncom/lond:1.431
--- loncom/lond:1.430	Tue Oct 20 00:50:33 2009
+++ loncom/lond	Wed Oct 21 16:14:24 2009
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.430 2009/10/20 00:50:33 raeburn Exp $
+# $Id: lond,v 1.431 2009/10/21 16:14:24 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.430 $'; #' stupid emacs
+my $VERSION='$Revision: 1.431 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -3784,17 +3784,17 @@
             $cc_clone{$clonedom.'_'.$clonenum} = 1;
         } 
     }
-    if (defined($createdbefore)) {
+    if ($createdbefore ne '') {
         $createdbefore = &unescape($createdbefore);
     } else {
        $createdbefore = 0;
     }
-    if (defined($createdafter)) {
+    if ($createdafter ne '') {
         $createdafter = &unescape($createdafter);
     } else {
         $createdafter = 0;
     }
-    if (defined($creationcontext)) {
+    if ($creationcontext ne '') {
         $creationcontext = &unescape($creationcontext);
     } else {
         $creationcontext = '.';