Fixed new bug that was preventing news being shown on course page

This commit is contained in:
moodler
2003-04-18 07:25:58 +00:00
parent fc6a91994e
commit 32dcc87484
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -61,7 +61,7 @@
print_heading_block($headertext);
echo "<IMG ALT=\"\" HEIGHT=7 SRC=\"../pix/spacer.gif\"><BR>";
forum_print_latest_discussions($social->id, 10, "plain", "DESC", false);
forum_print_latest_discussions($social->id, 10, "plain", "", false);
} else {
notify("Could not find or create a social forum here");
+1 -1
View File
@@ -205,7 +205,7 @@
if ($news) {
print_side_block_start(get_string("latestnews"), 210, "sideblocklatestnews");
echo "<FONT SIZE=\"-2\">";
forum_print_latest_discussions($news->id, $course->newsitems, "minimal", "DESC", false);
forum_print_latest_discussions($news->id, $course->newsitems, "minimal", "", false);
echo "</FONT>";
print_side_block_end();
}
+1 -1
View File
@@ -201,7 +201,7 @@
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", "DESC", false);
forum_print_latest_discussions($news->id, $course->newsitems, "minimal", "", false);
echo "</FONT>";
print_side_block_end();
}