[LON-CAPA-cvs] cvs: loncom /homework lonsimpleproblemedit.pm
raeburn
raeburn at source.lon-capa.org
Thu Sep 10 20:56:41 EDT 2015
raeburn Fri Sep 11 00:56:41 2015 EDT
Modified files:
/loncom/homework lonsimpleproblemedit.pm
Log:
- symb is already present in the key for all parameters stored for an
instance of a simpleproblem.
Index: loncom/homework/lonsimpleproblemedit.pm
diff -u loncom/homework/lonsimpleproblemedit.pm:1.37 loncom/homework/lonsimpleproblemedit.pm:1.38
--- loncom/homework/lonsimpleproblemedit.pm:1.37 Mon Dec 15 00:50:20 2014
+++ loncom/homework/lonsimpleproblemedit.pm Fri Sep 11 00:56:41 2015
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Simple Problem Parameter Setting "Editor"
#
-# $Id: lonsimpleproblemedit.pm,v 1.37 2014/12/15 00:50:20 raeburn Exp $
+# $Id: lonsimpleproblemedit.pm,v 1.38 2015/09/11 00:56:41 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -224,6 +224,7 @@
foreach my $envkey (keys(%env)) {
if ($envkey=~/^form\.(\w+)$/) {
my $parm=$1;
+ next if ($parm eq 'symb');
$storecontent{$prefix.$parm}=$env{'form.'.$parm};
$storecontent{$prefix.$parm}=~s/^\s+//s;
$storecontent{$prefix.$parm}=~s/\s+$//s;
More information about the LON-CAPA-cvs
mailing list