[LON-CAPA-cvs] cvs: loncom /homework grades.pm
foxr
lon-capa-cvs-allow@mail.lon-capa.org
Mon, 17 Dec 2007 11:11:59 -0000
foxr Mon Dec 17 06:11:59 2007 EDT
Modified files:
/loncom/homework grades.pm
Log:
Add missing ) at line 4178 was causing syntax error on mod_perl init.
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.500 loncom/homework/grades.pm:1.501
--- loncom/homework/grades.pm:1.500 Sat Dec 15 16:54:35 2007
+++ loncom/homework/grades.pm Mon Dec 17 06:11:58 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.500 2007/12/15 21:54:35 albertel Exp $
+# $Id: grades.pm,v 1.501 2007/12/17 11:11:58 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4175,7 +4175,7 @@
$result.='<h3> '.&mt('Student: [_1]',&nameUserString(undef,$$fullname{$env{'form.student'}},$uname,$udom)).
'</h3>'."\n";
$env{'form.CODE'} = uc($env{'form.CODE'});
- if (&Apache::lonnet::validCODE(uc($env{'form.CODE'})) {
+ if (&Apache::lonnet::validCODE(uc($env{'form.CODE'}))) {
$result.='<h3> '.&mt('CODE: [_1]',$env{'form.CODE'}).'</h3>'."\n";
} else {
delete($env{'form.CODE'});