[LON-CAPA-cvs] cvs: loncom /homework matchresponse.pm rankresponse.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 10 Feb 2004 17:01:20 -0000


albertel		Tue Feb 10 12:01:20 2004 EDT

  Modified files:              
    /loncom/homework	matchresponse.pm rankresponse.pm 
  Log:
  - Arrgh!
  
  
Index: loncom/homework/matchresponse.pm
diff -u loncom/homework/matchresponse.pm:1.35 loncom/homework/matchresponse.pm:1.36
--- loncom/homework/matchresponse.pm:1.35	Mon Feb  9 14:47:53 2004
+++ loncom/homework/matchresponse.pm	Tue Feb 10 12:01:20 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Full matching style response
 #
-# $Id: matchresponse.pm,v 1.35 2004/02/09 19:47:53 albertel Exp $
+# $Id: matchresponse.pm,v 1.36 2004/02/10 17:01:20 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -419,7 +419,7 @@
 	}
     } else {
 	my $i = 0;
-	my $temp=0;
+	my $temp=1;
 	my $id=$Apache::inputtags::response[-1];
 	my $part=$Apache::inputtags::part;
 	my $lastresponse=$Apache::lonhomework::history{"resource.$part.$id.submission"};
Index: loncom/homework/rankresponse.pm
diff -u loncom/homework/rankresponse.pm:1.28 loncom/homework/rankresponse.pm:1.29
--- loncom/homework/rankresponse.pm:1.28	Mon Feb  9 14:38:00 2004
+++ loncom/homework/rankresponse.pm	Tue Feb 10 12:01:20 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # rank style response
 #
-# $Id: rankresponse.pm,v 1.28 2004/02/09 19:38:00 albertel Exp $
+# $Id: rankresponse.pm,v 1.29 2004/02/10 17:01:20 albertel Exp $
 # Copyright Michigan State University Board of Trustees
 #
 # This file is part of the LearningOnline Network with CAPA (LON-CAPA).
@@ -256,7 +256,7 @@
 	}
     } else {
 	my $i = 0;
-	my $temp=0;
+	my $temp=1;
 	my $id=$Apache::inputtags::response[-1];
 	my $part=$Apache::inputtags::part;
 	my $lastresponse=$Apache::lonhomework::history{"resource.$part.$id.submission"};