version 1.8, 2005/04/11 15:33:46
|
version 1.9, 2005/04/11 15:52:40
|
Line 416 sub getitems {
|
Line 416 sub getitems {
|
if ($prevread <$contrib{$id.':timestamp'}) { |
if ($prevread <$contrib{$id.':timestamp'}) { |
$$unread{$ressymb}{$unreadcount} = $id.': '.$contrib{$id.':subject'}; |
$$unread{$ressymb}{$unreadcount} = $id.': '.$contrib{$id.':subject'}; |
$unreadcount ++; |
$unreadcount ++; |
push(@{$newdiscussions}, $ressymb); |
|
} |
} |
} |
} |
} |
} |
} |
} |
} |
if ($unreadcount) { push(@{$newdiscussions}, $ressymb); } |
|
} |
|
|
# Check for ungraded problems |
# Check for ungraded problems |
if ($resource->is_problem()) { |
if ($resource->is_problem()) { |