--- loncom/interface/lonwhatsnew.pm 2009/02/24 16:16:35 1.90 +++ loncom/interface/lonwhatsnew.pm 2009/05/06 19:25:56 1.93 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.90 2009/02/24 16:16:35 hauer Exp $ +# $Id: lonwhatsnew.pm,v 1.93 2009/05/06 19:25:56 droeschl 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'); }