[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /homework inputtags.pm
raeburn
raeburn@source.lon-capa.org
Tue, 21 Dec 2010 14:56:03 -0000
raeburn Tue Dec 21 14:56:03 2010 EDT
Modified files: (Branch: version_2_10_X)
/loncom/homework inputtags.pm
Log:
- Line in rev 1.274 missed in 1.271.2.2 backport.
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.271.2.2 loncom/homework/inputtags.pm:1.271.2.3
--- loncom/homework/inputtags.pm:1.271.2.2 Mon Dec 20 19:34:47 2010
+++ loncom/homework/inputtags.pm Tue Dec 21 14:56:03 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# input definitons
#
-# $Id: inputtags.pm,v 1.271.2.2 2010/12/20 19:34:47 raeburn Exp $
+# $Id: inputtags.pm,v 1.271.2.3 2010/12/21 14:56:03 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -175,6 +175,7 @@
if ($target eq 'web') {
$Apache::lonxml::evaluate--;
my $partid=$Apache::inputtags::part;
+ my ($oldresponse,$newvariation);
if ((($Apache::lonhomework::history{"resource.$partid.type"} eq 'randomizetry') ||
($Apache::lonhomework::type eq 'randomizetry')) &&
($Apache::inputtags::status[-1] eq 'CAN_ANSWER')) {