--- loncom/homework/inputtags.pm 2010/12/19 21:12:20 1.275 +++ loncom/homework/inputtags.pm 2010/12/31 02:40:14 1.277 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.275 2010/12/19 21:12:20 raeburn Exp $ +# $Id: inputtags.pm,v 1.277 2010/12/31 02:40:14 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -595,9 +595,9 @@ sub current_file_submissions { } } } + my $num = 0; foreach my $name (sort(keys(%okfiles))) { if (ref($okfiles{$name}) eq 'ARRAY') { - my $num = 0; foreach my $url (@{$okfiles{$name}}) { if (ref($rows{$url}) eq 'HASH') { my $link = $rows{$url}{link}; @@ -623,7 +623,7 @@ sub current_file_submissions { } $result .= '