--- rat/lonuserstate.pm 2002/06/24 14:09:49 1.29 +++ rat/lonuserstate.pm 2002/06/26 15:44:35 1.30 @@ -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.29 2002/06/24 14:09:49 www Exp $ +# $Id: lonuserstate.pm,v 1.30 2002/06/26 15:44:35 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -467,6 +467,11 @@ sub readmap { %parmhash=(); $errtext=''; $pc=0; + my $furi='/res/'.&Apache::lonnet::declutter($uri); + $hash{'src_0.0'}=$furi; + $hash{'title_0.0'}=&Apache::lonnet::metadata($uri,'title'); + $hash{'ids_'.$furi}='0.0'; + $hash{'is_map_0.0'}=1; loadmap($uri); if (defined($hash{'map_start_'.$uri})) { &traceroute('0',$hash{'map_start_'.$uri},'&');