--- loncom/xml/lonxml.pm 2007/11/13 22:16:10 1.469 +++ loncom/xml/lonxml.pm 2007/12/05 14:52:15 1.470 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.469 2007/11/13 22:16:10 albertel Exp $ +# $Id: lonxml.pm,v 1.470 2007/12/05 14:52:15 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1083,7 +1083,7 @@ sub increment_counter { # If the caller supplied the response_id parameter, # Maintain its counter.. creating if necessary. - if(defined($part_response)) { + if (defined($part_response)) { if (!defined($Apache::lonxml::counters_per_part{$part_response})) { $Apache::lonxml::counters_per_part{$part_response} = 0; } @@ -1164,7 +1164,6 @@ sub bubble_lines_for_part { } else { return $Apache::lonxml::counters_per_part{$part_response}; } - } =pod @@ -1477,7 +1476,7 @@ SIMPLECONTENT sub inserteditinfo { - my ($filecontents,$filetype)=@_; + my ($filecontents, $filetype, $filename)=@_; $filecontents = &HTML::Entities::encode($filecontents,'<>&"'); # my $editheader='Edit below