mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Take off one notice when there is no news in a course...
This commit is contained in:
parent
ecac660cd6
commit
543e1c58b5
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user