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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 09 Aug 2005 15:53:22 -0000


albertel		Tue Aug  9 11:53:22 2005 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - style
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.276 loncom/homework/grades.pm:1.277
--- loncom/homework/grades.pm:1.276	Tue Jul 12 10:57:55 2005
+++ loncom/homework/grades.pm	Tue Aug  9 11:53:20 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.276 2005/07/12 14:57:55 albertel Exp $
+# $Id: grades.pm,v 1.277 2005/08/09 15:53:20 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2293,7 +2293,7 @@
     my $portfolio_root = &Apache::loncommon::propath($domain,
 						 $stuname).
 						'/userfiles/portfolio';
-    foreach my $key(keys %$record) {
+    foreach my $key (keys(%$record)) {
         my $new_portfiles;
         if ($key =~ /^resource\.($version_parts)\./ && $key =~ /\.portfiles$/ ) {
             my @v_portfiles;