--- loncom/homework/grades.pm 2005/07/12 14:57:55 1.276 +++ loncom/homework/grades.pm 2005/08/09 15:53:20 1.277 @@ -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 @@ sub version_portfiles { 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;