--- loncom/interface/loncommon.pm 2010/01/19 16:34:57 1.692.4.25 +++ loncom/interface/loncommon.pm 2010/01/19 16:42:15 1.692.4.26 @@ -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 @@ Returns either 'student','coordinator',' ############################################### 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)/) {