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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 27 Feb 2003 22:39:11 -0000


albertel		Thu Feb 27 17:39:11 2003 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - ssi now works
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.68 loncom/homework/grades.pm:1.69
--- loncom/homework/grades.pm:1.68	Thu Feb 27 16:05:58 2003
+++ loncom/homework/grades.pm	Thu Feb 27 17:39:11 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.68 2003/02/27 21:05:58 ng Exp $
+# $Id: grades.pm,v 1.69 2003/02/27 22:39:11 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2540,7 +2540,9 @@
 	$studentTable.='<td>&nbsp;'.
 	    &Apache::loncommon::get_student_answers($symbx{$_},$uname,$udom,$ENV{'request.course.id'}).'</td>';
 
-	my $subresult=&Apache::lonnet::ssi($request->uri,
+	my (undef,undef,$requesturl)=split(/___/,$symbx{$_});
+	$requesturl=&Apache::lonnet::clutter($requesturl);
+	my $subresult=&Apache::lonnet::ssi($requesturl,
 					   ('grade_target' => 'analyze'),
 					   ('grade_domain' => $udom),
 					   ('grade_user' => $uname),