--- rat/lonuserstate.pm 2002/10/10 19:05:32 1.46 +++ rat/lonuserstate.pm 2002/11/18 15:17:56 1.47 @@ -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.46 2002/10/10 19:05:32 www Exp $ +# $Id: lonuserstate.pm,v 1.47 2002/11/18 15:17:56 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -120,6 +120,12 @@ sub loadmap { $hash{'kind_'.$rid}='res'; $hash{'title_'.$rid}=$token->[2]->{'title'}; my $turi=$token->[2]->{'src'}; + $Apache::lonnet::titlecache{ + &Apache::lonnet::symbclean( + &Apache::lonnet::declutter($uri).'___'. + $token->[2]->{'id'}.'___'. + &Apache::lonnet::declutter($turi))}= + $token->[2]->{'title'}; unless ($ispage) { $turi=~/\.(\w+)$/; my $embstyle=&Apache::loncommon::fileembstyle($1);