--- rat/lonuserstate.pm 2003/02/28 18:14:44 1.53 +++ rat/lonuserstate.pm 2003/03/01 15:13:59 1.54 @@ -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.53 2003/02/28 18:14:44 www Exp $ +# $Id: lonuserstate.pm,v 1.54 2003/03/01 15:13:59 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -381,7 +381,7 @@ sub accinit { my $urifile=$uriparts[$#uriparts]; $#uriparts--; my $uripath=join('/',@uriparts); - $uripath=~s/^\/res\///; + $uripath=&Apache::lonnet::declutter($uripath); if ($uripath) { my $uricond='0'; if (defined($hash{'conditions_'.$resid})) {