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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 17 Feb 2004 16:45:59 -0000


albertel		Tue Feb 17 11:45:59 2004 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - BUG#2735 - select roles domain as the def domain wen fixing errors in scantron grading
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.175 loncom/homework/grades.pm:1.176
--- loncom/homework/grades.pm:1.175	Mon Feb 16 13:28:25 2004
+++ loncom/homework/grades.pm	Tue Feb 17 11:45:58 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.175 2004/02/16 18:28:25 albertel Exp $
+# $Id: grades.pm,v 1.176 2004/02/17 16:45:58 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3992,7 +3992,7 @@
 				       'scantron_username','scantron_domain'));
 	$r->print(": <input type='text' name='scantron_username' value='' />");
 	$r->print("\n@".
-		 &Apache::loncommon::select_dom_form(undef,'scantron_domain'));
+		 &Apache::loncommon::select_dom_form($ENV{'request.role..domain'},'scantron_domain'));
 
 	$r->print('</li>');
     } elsif ($error eq 'doublebubble') {