[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm
raeburn
raeburn at source.lon-capa.org
Thu Jun 27 14:22:07 EDT 2013
raeburn Thu Jun 27 18:22:07 2013 EDT
Modified files:
/loncom/interface lonparmset.pm
Log:
- Include CODE entered in warning when examcode parameter setting failed.
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.534 loncom/interface/lonparmset.pm:1.535
--- loncom/interface/lonparmset.pm:1.534 Thu Jun 27 18:12:22 2013
+++ loncom/interface/lonparmset.pm Thu Jun 27 18:22:07 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.534 2013/06/27 18:12:22 raeburn Exp $
+# $Id: lonparmset.pm,v 1.535 2013/06/27 18:22:07 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4709,7 +4709,7 @@
);
if (exists($stringtypes{$name})) {
if ($name eq 'examcode') {
-
+ $desc = $value;
} elsif (ref($strings{$stringtypes{$name}}) eq 'ARRAY') {
foreach my $possibilities (@{ $strings{$stringtypes{$name}} }) {
next unless (ref($possibilities) eq 'ARRAY');
More information about the LON-CAPA-cvs
mailing list