[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /lonnet/perl lonnet.pm
raeburn
raeburn@source.lon-capa.org
Tue, 25 Jan 2011 09:56:17 -0000
raeburn Tue Jan 25 09:56:17 2011 EDT
Modified files: (Branch: version_2_10_X)
/loncom/lonnet/perl lonnet.pm
Log:
- Backport 1.1102.
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1056.4.20 loncom/lonnet/perl/lonnet.pm:1.1056.4.21
--- loncom/lonnet/perl/lonnet.pm:1.1056.4.20 Fri Jan 21 12:18:28 2011
+++ loncom/lonnet/perl/lonnet.pm Tue Jan 25 09:56:17 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.1056.4.20 2011/01/21 12:18:28 raeburn Exp $
+# $Id: lonnet.pm,v 1.1056.4.21 2011/01/25 09:56:17 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -8968,7 +8968,8 @@
}
my $ids=$bighash{'ids_'.&clutter($thisurl)};
unless ($ids) {
- $ids=$bighash{'ids_/'.$thisurl};
+ my $idkey = 'ids_'.($thisurl =~ m{^/}? '' : '/').$thisurl;
+ $ids=$bighash{$idkey};
}
if ($ids) {
# ------------------------------------------------------------------- Has ID(s)