[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm
raeburn
raeburn at source.lon-capa.org
Mon Jun 20 11:35:43 EDT 2016
raeburn Mon Jun 20 15:35:43 2016 EDT
Modified files:
/loncom/interface loncommon.pm
Log:
- Replace duplicated check for course's ID with check for course's domain.
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1246 loncom/interface/loncommon.pm:1.1247
--- loncom/interface/loncommon.pm:1.1246 Sun Jun 19 04:27:49 2016
+++ loncom/interface/loncommon.pm Mon Jun 20 15:35:42 2016
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.1246 2016/06/19 04:27:49 raeburn Exp $
+# $Id: loncommon.pm,v 1.1247 2016/06/20 15:35:42 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5429,7 +5429,7 @@
my ($crsauthor,$title);
if (($env{'request.course.id'}) &&
($env{'course.'.$env{'request.course.id'}.'.num'} eq $uname) &&
- ($env{'course.'.$env{'request.course.id'}.'.num'} eq $uname)) {
+ ($env{'course.'.$env{'request.course.id'}.'.domain'} eq $udom)) {
$crsauthor = 1;
$title = &mt('Course Authoring Space');
} else {
More information about the LON-CAPA-cvs
mailing list