[LON-CAPA-cvs] cvs: rat / lonuserstate.pm
www
lon-capa-cvs@mail.lon-capa.org
Mon, 15 Dec 2003 15:49:23 -0000
www Mon Dec 15 10:49:23 2003 EDT
Modified files:
/rat lonuserstate.pm
Log:
Yep, there is going to be somebody naming their file "0".
This should go into 1.1.
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.69 rat/lonuserstate.pm:1.70
--- rat/lonuserstate.pm:1.69 Mon Dec 15 10:26:26 2003
+++ rat/lonuserstate.pm Mon Dec 15 10:49:23 2003
@@ -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 @@
} 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);