Fixed new bug that was preventing news being shown on course page
This commit is contained in:
+1
-1
@@ -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
@@ -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
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user