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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 09 Feb 2004 19:47:53 -0000


albertel		Mon Feb  9 14:47:53 2004 EDT

  Modified files:              
    /loncom/homework	matchresponse.pm 
  Log:
  - how about I test my copy and paste before committing
  
  
Index: loncom/homework/matchresponse.pm
diff -u loncom/homework/matchresponse.pm:1.34 loncom/homework/matchresponse.pm:1.35
--- loncom/homework/matchresponse.pm:1.34	Mon Feb  9 14:43:22 2004
+++ loncom/homework/matchresponse.pm	Mon Feb  9 14:47:53 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Full matching style response
 #
-# $Id: matchresponse.pm,v 1.34 2004/02/09 19:43:22 albertel Exp $
+# $Id: matchresponse.pm,v 1.35 2004/02/09 19:47:53 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -368,9 +368,9 @@
 	    $Apache::lonhomework::results{"resource.$part.$id.awarddetail"}=
 		$ad;
 	    $Apache::lonhomework::results{"resource.$part.$id.awarded"}=
-		$right/(scalar(@whichopt));
+		$right/(scalar(@whichfoils));
 	    $Apache::lonhomework::results{"resource.$part.$id.numfoils"}=
-		scalar(@whichopt);
+		scalar(@whichfoils);
 	}
     }
 }