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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 27 Jun 2006 17:50:39 -0000


albertel		Tue Jun 27 13:50:39 2006 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - typo
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.403 loncom/interface/loncommon.pm:1.404
--- loncom/interface/loncommon.pm:1.403	Mon Jun 26 20:07:33 2006
+++ loncom/interface/loncommon.pm	Tue Jun 27 13:50:37 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.403 2006/06/27 00:07:33 albertel Exp $
+# $Id: loncommon.pm,v 1.404 2006/06/27 17:50:37 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5175,8 +5175,8 @@
     if (!defined($cid)) {
         $cid = $env{'request.course.id'};
     }
-    if (defined($env{'course.'.$cid.'type'})) {
-        return $env{'course.'.$cid.'type'};
+    if (defined($env{'course.'.$cid.'.type'})) {
+        return $env{'course.'.$cid.'.type'};
     } else {
         return 'Course';
     }