--- rat/lonuserstate.pm 2003/03/01 15:13:59 1.54 +++ rat/lonuserstate.pm 2003/03/02 01:43:01 1.55 @@ -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.54 2003/03/01 15:13:59 www Exp $ +# $Id: lonuserstate.pm,v 1.55 2003/03/02 01:43:01 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -377,11 +377,11 @@ sub accinit { my $resid=$_; my $uri=$hash{'src_'.$resid}; $uri=~s/^\/adm\/wrapper//; + $uri=&Apache::lonnet::declutter($uri); my @uriparts=split(/\//,$uri); my $urifile=$uriparts[$#uriparts]; $#uriparts--; my $uripath=join('/',@uriparts); - $uripath=&Apache::lonnet::declutter($uripath); if ($uripath) { my $uricond='0'; if (defined($hash{'conditions_'.$resid})) {