[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /lonnet/perl lonnet.pm
raeburn
raeburn at source.lon-capa.org
Thu Oct 6 21:19:02 EDT 2011
raeburn Fri Oct 7 01:19:02 2011 EDT
Modified files: (Branch: version_2_10_X)
/loncom/lonnet/perl lonnet.pm
Log:
- Backport 1.1132.
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1056.4.31 loncom/lonnet/perl/lonnet.pm:1.1056.4.32
--- loncom/lonnet/perl/lonnet.pm:1.1056.4.31 Wed Sep 28 15:31:05 2011
+++ loncom/lonnet/perl/lonnet.pm Fri Oct 7 01:19:01 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.1056.4.31 2011/09/28 15:31:05 raeburn Exp $
+# $Id: lonnet.pm,v 1.1056.4.32 2011/10/07 01:19:01 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3714,7 +3714,7 @@
$result.='=';
#print("Got a ref of ".(ref($key))." skipping.");
} else {
- if ($key) {$result.=&escape($key).'=';} else { last; }
+ if (defined($key)) {$result.=&escape($key).'=';} else { last; }
}
if(ref($hashref->{$key}) eq 'ARRAY') {
More information about the LON-CAPA-cvs
mailing list