--- loncom/interface/loncommunicate.pm 2002/08/21 17:18:08 1.11 +++ loncom/interface/loncommunicate.pm 2002/09/16 20:06:12 1.12 @@ -1,7 +1,7 @@ # The LearningOnline Network # Communicate # -# $Id: loncommunicate.pm,v 1.11 2002/08/21 17:18:08 www Exp $ +# $Id: loncommunicate.pm,v 1.12 2002/09/16 20:06:12 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -90,7 +90,7 @@ END foreach (@msgids) { my ($sendtime,$shortsubj,$fromname,$fromdom,$status)= &Apache::lonmsg::unpackmsgid($_); - if ($sendtime!~/error/) { + if (defined($sendtime) && $sendtime!~/error/) { $sendtime = localtime($sendtime); if ($status eq 'new') { push @newmsgs, {