--- loncom/interface/lonwhatsnew.pm 2009/02/24 16:16:35 1.90 +++ loncom/interface/lonwhatsnew.pm 2009/04/16 21:19:56 1.91 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.90 2009/02/24 16:16:35 hauer Exp $ +# $Id: lonwhatsnew.pm,v 1.91 2009/04/16 21:19:56 lueken Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1161,9 +1161,9 @@ sub getnormalmail { if (($fromcid) && ($fromcid eq $env{'request.course.id'})) { if (defined($sendtime) && $sendtime!~/error/) { my $numsendtime = $sendtime; - $sendtime = &Apache::lonlocal::locallocaltime($sendtime); if ($status eq 'new') { - $msgcount ++; + $sendtime = &Apache::lonlocal::locallocaltime($sendtime); + $msgcount ++; if ($shortsubj eq '') { $shortsubj = &mt('No subject'); }