From: moodler Date: Fri, 18 Apr 2003 07:25:58 +0000 (+0000) Subject: Fixed new bug that was preventing news being shown on course page X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=32dcc87484a476da774dd3ee3f92173279d651e1;p=moodle.git Fixed new bug that was preventing news being shown on course page --- diff --git a/course/social.php b/course/social.php index 32d50de89d..77bb2a7999 100644 --- a/course/social.php +++ b/course/social.php @@ -61,7 +61,7 @@ print_heading_block($headertext); echo "\"\"
"; - 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"); diff --git a/course/topics.php b/course/topics.php index b7abd75d8e..2516cb77d1 100644 --- a/course/topics.php +++ b/course/topics.php @@ -205,7 +205,7 @@ if ($news) { print_side_block_start(get_string("latestnews"), 210, "sideblocklatestnews"); echo ""; - forum_print_latest_discussions($news->id, $course->newsitems, "minimal", "DESC", false); + forum_print_latest_discussions($news->id, $course->newsitems, "minimal", "", false); echo ""; print_side_block_end(); } diff --git a/course/weeks.php b/course/weeks.php index a0b14f097e..83e1eb5edb 100644 --- a/course/weeks.php +++ b/course/weeks.php @@ -201,7 +201,7 @@ if (!empty($news)) { print_side_block_start(get_string("latestnews"), 210, "sideblocklatestnews"); echo ""; - forum_print_latest_discussions($news->id, $course->newsitems, "minimal", "DESC", false); + forum_print_latest_discussions($news->id, $course->newsitems, "minimal", "", false); echo ""; print_side_block_end(); }