[LON-CAPA-cvs] cvs: loncom /homework lonhomework.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 03 Apr 2003 21:46:27 -0000
albertel Thu Apr 3 16:46:27 2003 EDT
Modified files:
/loncom/homework lonhomework.pm
Log:
- security fix
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.118 loncom/homework/lonhomework.pm:1.119
--- loncom/homework/lonhomework.pm:1.118 Thu Apr 3 15:05:21 2003
+++ loncom/homework/lonhomework.pm Thu Apr 3 16:46:27 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Homework handler
#
-# $Id: lonhomework.pm,v 1.118 2003/04/03 20:05:21 albertel Exp $
+# $Id: lonhomework.pm,v 1.119 2003/04/03 21:46:27 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -65,7 +65,7 @@
&& ($ENV{'form.grade_target'} eq 'tex')) {
return ($ENV{'form.grade_target'});
} elsif ( defined($ENV{'form.grade_target'} )
- && ($Apache::lonhomework::viewgrades == 'F' )) {
+ && ($Apache::lonhomework::viewgrades eq 'F' )) {
return ($ENV{'form.grade_target'});
}
@@ -600,7 +600,6 @@
#my $t0 = [&gettimeofday()];
my $request=$_[0];
-# if ( $ENV{'user.name'} eq 'albertel' ) {$Apache::lonxml::debug=1;}
$Apache::lonxml::debug=$ENV{'user.debug'};
if (&setupheader($request)) { return OK; }