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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 24 Jun 2003 15:45:17 -0000


albertel		Tue Jun 24 11:45:17 2003 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - silly typos 
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.107 loncom/homework/grades.pm:1.108
--- loncom/homework/grades.pm:1.107	Mon Jun 23 17:14:55 2003
+++ loncom/homework/grades.pm	Tue Jun 24 11:45:17 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.107 2003/06/23 21:14:55 albertel Exp $
+# $Id: grades.pm,v 1.108 2003/06/24 15:45:17 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2083,7 +2083,7 @@
 	$line .= '<tr bgcolor="#ffffde"><td>'.$uname.'&nbsp;</td><td>'.
 	    $udom.'&nbsp;</td><td>'.
 		$$fullname{$usercolon}.'&nbsp;</td>';
-	my $usec=%$classlist->{"$uname:$udom"}[5];
+	my $usec=$classlist->{"$uname:$udom"}[5];
 	if (!&canmodify($usec)) {
 	    my $numcols=scalar(@partid)*(scalar(@parts)-1)*2;
 	    $noupdate.=$line."<td colspan=\"$numcols\"><font color=\"red\">Not allowed to modify student</font></td></tr>";
@@ -2440,7 +2440,7 @@
 	    push(@skipped,"$username:$domain");
 	    next;
 	}
-	my $usec=%$classlist->{"$username:$domain"}[5];
+	my $usec=$classlist->{"$username:$domain"}[5];
 	if (!&canmodify($usec)) {
 	    push(@notallowed,"$username:$domain");
 	    next;