--- rat/lonuserstate.pm 2007/10/16 21:14:53 1.125 +++ rat/lonuserstate.pm 2007/12/01 03:43:49 1.127 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Construct and maintain state and binary representation of course for user # -# $Id: lonuserstate.pm,v 1.125 2007/10/16 21:14:53 albertel Exp $ +# $Id: lonuserstate.pm,v 1.127 2007/12/01 03:43:49 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -210,7 +210,7 @@ sub loadmap { $hash{'type_'.$from_rid}='finish'; } - my $parser = HTML::TokeParser->new(\$instr); + $parser = HTML::TokeParser->new(\$instr); $parser->attr_encoded(1); # last parse out the mapalias params so as to ignore anything # refering to non-existant resources @@ -471,7 +471,8 @@ sub traceroute { if (defined($hash{'map_start_'.$hash{'src_'.$rid}})) { $sofar=$newsofar= &traceroute($sofar, - $hash{'map_start_'.$hash{'src_'.$rid}},'&', + $hash{'map_start_'.$hash{'src_'.$rid}}, + $beenhere, $encflag || $encurl{$rid}, $hdnflag || $hiddenurl{$rid}); }