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

albertel lon-capa-cvs@mail.lon-capa.org
Sat, 04 Dec 2004 00:03:25 -0000


albertel		Fri Dec  3 19:03:25 2004 EDT

  Modified files:              (Branch: version_1_2_X)
    /loncom/homework	grades.pm 
  Log:
   backport 1.234
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.204.2.9 loncom/homework/grades.pm:1.204.2.10
--- loncom/homework/grades.pm:1.204.2.9	Tue Nov  9 15:20:56 2004
+++ loncom/homework/grades.pm	Fri Dec  3 19:03:24 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.204.2.9 2004/11/09 20:20:56 albertel Exp $
+# $Id: grades.pm,v 1.204.2.10 2004/12/04 00:03:24 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4535,7 +4535,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'};