[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface courseprefs.pm
raeburn
raeburn at source.lon-capa.org
Wed Sep 24 00:43:29 EDT 2014
raeburn Wed Sep 24 04:43:29 2014 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface courseprefs.pm
Log:
- For 2.11
- Backport 1.68
Index: loncom/interface/courseprefs.pm
diff -u loncom/interface/courseprefs.pm:1.49.2.15 loncom/interface/courseprefs.pm:1.49.2.16
--- loncom/interface/courseprefs.pm:1.49.2.15 Fri Jun 13 02:03:41 2014
+++ loncom/interface/courseprefs.pm Wed Sep 24 04:43:28 2014
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set configuration settings for a course
#
-# $Id: courseprefs.pm,v 1.49.2.15 2014/06/13 02:03:41 raeburn Exp $
+# $Id: courseprefs.pm,v 1.49.2.16 2014/09/24 04:43:28 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2625,9 +2625,9 @@
}
foreach my $map (keys(%allmaps)) {
my $mapres = $navmap->getResourceByUrl($map);
- my $mapsymb = $mapres->symb();
- $toshow{$mapsymb} = 1;
if (ref($mapres)) {
+ my $mapsymb = $mapres->symb();
+ $toshow{$mapsymb} = 1;
my $pcslist = $mapres->map_hierarchy();
if ($pcslist ne '') {
foreach my $pc (split(/,/,$pcslist)) {
More information about the LON-CAPA-cvs
mailing list