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

raeburn raeburn@source.lon-capa.org
Tue, 19 Jan 2010 16:42:15 -0000


raeburn		Tue Jan 19 16:42:15 2010 EDT

  Modified files:              (Branch: version_2_9_X)
    /loncom/interface	loncommon.pm 
  Log:
  - Fix typo in 1.692.4.22.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.692.4.25 loncom/interface/loncommon.pm:1.692.4.26
--- loncom/interface/loncommon.pm:1.692.4.25	Tue Jan 19 16:34:57 2010
+++ loncom/interface/loncommon.pm	Tue Jan 19 16:42:15 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.692.4.25 2010/01/19 16:34:57 raeburn Exp $
+# $Id: loncommon.pm,v 1.692.4.26 2010/01/19 16:42:15 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6377,7 +6377,7 @@
 ###############################################
 sub get_users_function {
     my $function = 'student';
-    if ($env{'request.role'}=~/^(cc|co|in|ta|ep)/
+    if ($env{'request.role'}=~/^(cc|co|in|ta|ep)/) {
         $function='coordinator';
     }
     if ($env{'request.role'}=~/^(su|dc|ad|li)/) {