--- loncom/lonnet/perl/lonnet.pm 2005/02/14 04:59:53 1.598.2.1 +++ loncom/lonnet/perl/lonnet.pm 2005/02/15 17:13:54 1.598.2.2 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.598.2.1 2005/02/14 04:59:53 albertel Exp $ +# $Id: lonnet.pm,v 1.598.2.2 2005/02/15 17:13:54 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -866,11 +866,11 @@ sub is_cached_new { if ($debug) { &Apache::lonnet::logthis("getting $id is not defined"); } return (undef,undef); } - &make_room($id,$value,$debug); if ($value eq '__undef__') { if ($debug) { &Apache::lonnet::logthis("getting $id is __undef__"); } - return (undef,1); + $value=undef; } + &make_room($id,$value,$debug); if ($debug) { &Apache::lonnet::logthis("getting $id is $value"); } return ($value,1); }