[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 03 Oct 2002 22:32:53 -0000


albertel		Thu Oct  3 18:32:53 2002 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - need to return undef now if there isn't a value since we always test for definition
  
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.290 loncom/lonnet/perl/lonnet.pm:1.291
--- loncom/lonnet/perl/lonnet.pm:1.290	Thu Oct  3 11:04:29 2002
+++ loncom/lonnet/perl/lonnet.pm	Thu Oct  3 18:32:53 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.290 2002/10/03 15:04:29 www Exp $
+# $Id: lonnet.pm,v 1.291 2002/10/03 22:32:53 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2599,7 +2599,7 @@
 	    return $courseresdatacache{$hashid}->{$item};
 	}
     }
-    return '';
+    return undef;
 }
 
 # --------------------------------------------------------- Value of a Variable