--- rat/lonuserstate.pm 2003/12/15 15:26:26 1.69 +++ rat/lonuserstate.pm 2003/12/15 15:49:23 1.70 @@ -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.69 2003/12/15 15:26:26 www Exp $ +# $Id: lonuserstate.pm,v 1.70 2003/12/15 15:49:23 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -163,7 +163,7 @@ sub loadmap { } elsif ($turi!~/\.(sequence|page)$/) { $turi='/adm/coursedocs/showdoc'.$turi; } - } elsif ($turi) { # normal non-empty internal resource + } elsif ($turi=~/\S/) { # normal non-empty internal resource my $mapdir=$uri; $mapdir=~s/[^\/]+$//; $turi=&Apache::lonnet::hreflocation($mapdir,$turi);