--- loncom/interface/lonwhatsnew.pm 2005/06/09 17:40:05 1.20 +++ loncom/interface/lonwhatsnew.pm 2005/06/09 18:41:08 1.21 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.20 2005/06/09 17:40:05 www Exp $ +# $Id: lonwhatsnew.pm,v 1.21 2005/06/09 18:41:08 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -532,7 +532,7 @@ sub getitems { $$res_title{$symb} = $title; my $ressymb = $resource->wrap_symb(); # Check for unread discussion postings - if (defined($discussiontime{$ressymb})) { + if ($resource->hasDiscussion()) { push(@discussions,$ressymb); my $prevread = 0; my $unreadcount = 0;