]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed new bug that was preventing news being shown on course page
authormoodler <moodler>
Fri, 18 Apr 2003 07:25:58 +0000 (07:25 +0000)
committermoodler <moodler>
Fri, 18 Apr 2003 07:25:58 +0000 (07:25 +0000)
course/social.php
course/topics.php
course/weeks.php

index 32d50de89db113f3dc8024b50e11bc9fbd8fa687..77bb2a79990bb98c346504bec3645a47ba1acc02 100644 (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");
index b7abd75d8e80388a21996f4c5446e2668a0b73f3..2516cb77d10d5d1b8015db394759a60a8b9e47bc 100644 (file)
         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();
         }
index a0b14f097e09f0dfd123f31e32c7437748f61692..83e1eb5edbba64615652d7f26ad45c6bd0d1c198 100644 (file)
         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();
         }