[LON-CAPA-cvs] cvs: loncom /interface courseprefs.pm
raeburn
raeburn at source.lon-capa.org
Fri May 16 13:13:32 EDT 2014
raeburn Fri May 16 17:13:32 2014 EDT
Modified files:
/loncom/interface courseprefs.pm
Log:
- Cloned from row:
- Display description of course cloned from, instead of current course.
Index: loncom/interface/courseprefs.pm
diff -u loncom/interface/courseprefs.pm:1.64 loncom/interface/courseprefs.pm:1.65
--- loncom/interface/courseprefs.pm:1.64 Wed Dec 25 09:52:42 2013
+++ loncom/interface/courseprefs.pm Fri May 16 17:13:31 2014
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set configuration settings for a course
#
-# $Id: courseprefs.pm,v 1.64 2013/12/25 09:52:42 raeburn Exp $
+# $Id: courseprefs.pm,v 1.65 2014/05/16 17:13:31 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2056,7 +2056,7 @@
my $clonesrc = $env{'course.'.$env{'request.course.id'}.'.clonedfrom'};
my $clonedfrom = &mt('None');
if ($clonesrc =~ m{/$match_domain/$match_courseid}) {
- my %clonesrcinfo = &Apache::lonnet::coursedescription($cdom.'/'.$cnum);
+ my %clonesrcinfo = &Apache::lonnet::coursedescription($clonesrc);
if ($clonesrcinfo{'description'}) {
$clonedfrom = $clonesrcinfo{'description'}.' '.($clonesrc);
}
More information about the LON-CAPA-cvs
mailing list