[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface loncommon.pm
raeburn
raeburn at source.lon-capa.org
Fri Dec 17 14:59:39 EST 2021
raeburn Fri Dec 17 19:59:39 2021 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface loncommon.pm
Log:
- Fix typos in rev. 1.1075.2.158 backport of rev. 1.1357.
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1075.2.158 loncom/interface/loncommon.pm:1.1075.2.159
--- loncom/interface/loncommon.pm:1.1075.2.158 Mon Dec 13 19:55:44 2021
+++ loncom/interface/loncommon.pm Fri Dec 17 19:59:39 2021
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.1075.2.158 2021/12/13 19:55:44 raeburn Exp $
+# $Id: loncommon.pm,v 1.1075.2.159 2021/12/17 19:59:39 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5689,7 +5689,7 @@
if ($realm) {
$realm = '/'.$realm;
}
- if ($rol eq 'ca') {
+ if ($role eq 'ca') {
my ($rdom,$rname) = ($realm =~ m{^/($match_domain)/($match_username)$});
$realm = &plainname($rname,$rdom);
}
@@ -5748,7 +5748,7 @@
#
# Extra info if you are the DC
my $dc_info = '';
- if (($env{'user.adv'} && ($env{'request.course.id'}) &&
+ if (($env{'user.adv'}) && ($env{'request.course.id'}) &&
(exists($env{'user.role.dc./'.$env{'course.'.$cid.'.domain'}.'/'}))) {
$dc_info = $cid.' '.$env{'course.'.$cid.'.internal.coursecode'};
$dc_info =~ s/\s+$//;
More information about the LON-CAPA-cvs
mailing list