diff --git a/main/forum/forumfunction.inc.php b/main/forum/forumfunction.inc.php index d557430ec0..0adb95d75e 100755 --- a/main/forum/forumfunction.inc.php +++ b/main/forum/forumfunction.inc.php @@ -1801,7 +1801,7 @@ function get_forums( forum.c_id = $course_id AND item_properties.c_id = $course_id $includeGroupsForumSelect - ORDER BY forum_order ASC"; + ORDER BY forum.forum_order ASC"; // Select the number of threads of the forums (only the threads that are not deleted). $sql2 = "SELECT count(*) AS number_of_threads, threads.forum_id