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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 03 Dec 2004 23:54:59 -0000


albertel		Fri Dec  3 18:54:59 2004 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
   BUG#3656, bubble counting could be off
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.233 loncom/homework/grades.pm:1.234
--- loncom/homework/grades.pm:1.233	Fri Dec  3 17:44:36 2004
+++ loncom/homework/grades.pm	Fri Dec  3 18:54:58 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.233 2004/12/03 22:44:36 albertel Exp $
+# $Id: grades.pm,v 1.234 2004/12/03 23:54:58 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4524,7 +4524,7 @@
     my @resources=$navmap->retrieveResources($map,\&scantron_filter,1,0);
     &Apache::lonnet::delenv('form.counter');
     foreach my $resource (@resources) {
-	my $result=&Apache::lonnet::ssi($resource->src());
+	my $result=&Apache::lonnet::ssi($resource->src().'?symb='.&Apache::lonnet::escape($resource->symb()));
     }
     &Apache::lonnet::delenv('scantron\.');
     my $envfile=$ENV{'user.environment'};