--- loncom/homework/grades.pm 2007/12/15 21:54:35 1.500 +++ loncom/homework/grades.pm 2007/12/17 11:11:58 1.501 @@ -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 @@ sub displayPage { $result.='

 '.&mt('Student: [_1]',&nameUserString(undef,$$fullname{$env{'form.student'}},$uname,$udom)). '

'."\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.='

 '.&mt('CODE: [_1]',$env{'form.CODE'}).'

'."\n"; } else { delete($env{'form.CODE'});