--- loncom/homework/grades.pm 2003/06/20 21:45:20 1.105 +++ loncom/homework/grades.pm 2003/06/21 00:39:46 1.106 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.105 2003/06/20 21:45:20 albertel Exp $ +# $Id: grades.pm,v 1.106 2003/06/21 00:39:46 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -136,7 +136,7 @@ sub getclasslist { } } $section = ($section ne '' ? $section : 'no'); - if (1 || &canview($section)) { + if (&canview($section)) { if ($getsec eq 'all' || $getsec eq $section) { $sections{$section}++; $fullnames{$_}=$fullname; @@ -1847,7 +1847,7 @@ sub viewgrades { #beginning of class grading form $result.= '