Take off one notice when there is no news in a course...

This commit is contained in:
stronk7 2003-09-22 14:58:46 +00:00
parent ecac660cd6
commit 543e1c58b5

View File

@ -291,7 +291,7 @@
/// Print all the news items.
if ($news) {
if (!empty($news)) {
print_side_block_start(get_string("latestnews"), 210, "sideblocklatestnews");
echo "<font size=\"-2\">";
forum_print_latest_discussions($news->id, $course->newsitems, "minimal", "", false);