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

raeburn raeburn at source.lon-capa.org
Sat May 17 19:14:41 EDT 2014


raeburn		Sat May 17 23:14:41 2014 EDT

  Modified files:              
    /loncom/interface	coursecatalog.pm 
  Log:
  - Catalog type defaults to 'std' if not set yet in domain configuration.
  
  
Index: loncom/interface/coursecatalog.pm
diff -u loncom/interface/coursecatalog.pm:1.84 loncom/interface/coursecatalog.pm:1.85
--- loncom/interface/coursecatalog.pm:1.84	Mon Apr 28 22:12:55 2014
+++ loncom/interface/coursecatalog.pm	Sat May 17 23:14:41 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler for displaying the course catalog interface
 #
-# $Id: coursecatalog.pm,v 1.84 2014/04/28 22:12:55 raeburn Exp $
+# $Id: coursecatalog.pm,v 1.85 2014/05/17 23:14:41 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -88,6 +88,9 @@
         } else {
             $cattype = $domconfig{'coursecategories'}{'unauth'};
         }
+        if ($cattype eq '') {
+            $cattype = 'std';
+        }
     } else {
         $cathash = {};
         $cattype = 'std';




More information about the LON-CAPA-cvs mailing list