--- loncom/homework/inputtags.pm 2010/12/21 14:56:03 1.271.2.3 +++ loncom/homework/inputtags.pm 2010/12/31 19:10:16 1.271.2.4 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.271.2.3 2010/12/21 14:56:03 raeburn Exp $ +# $Id: inputtags.pm,v 1.271.2.4 2010/12/31 19:10:16 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -596,9 +596,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}; @@ -624,7 +624,7 @@ sub current_file_submissions { } $result .= '