[LON-CAPA-cvs] cvs: loncom /interface lonpickcourse.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 04 Nov 2003 16:31:50 -0000


albertel		Tue Nov  4 11:31:50 2003 EDT

  Modified files:              
    /loncom/interface	lonpickcourse.pm 
  Log:
  - Let them know if nothing is found.
  
  
  
Index: loncom/interface/lonpickcourse.pm
diff -u loncom/interface/lonpickcourse.pm:1.10 loncom/interface/lonpickcourse.pm:1.11
--- loncom/interface/lonpickcourse.pm:1.10	Mon Oct 13 18:45:09 2003
+++ loncom/interface/lonpickcourse.pm	Tue Nov  4 11:31:50 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Pick a course
 #
-# $Id: lonpickcourse.pm,v 1.10 2003/10/13 22:45:09 albertel Exp $
+# $Id: lonpickcourse.pm,v 1.11 2003/11/04 16:31:50 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -134,6 +134,7 @@
                    $Apache::lonnet::domaindescription{$cdom}:$cdom).
                  ")<br />\n");
 	}
+	if (!%courses) { $r->print('None found'); }
         $r->print('</form>');
     }
     $r->print('</body></html>');