mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
Merge branch 'master_MDL-47316' of git://git.catalyst.net.nz/moodle-r2
This commit is contained in:
commit
7b08f6e888
@ -1459,7 +1459,8 @@ function forum_print_overview($courses,&$htmlarray) {
|
||||
.'JOIN {forum_posts} p ON p.discussion = d.id '
|
||||
."WHERE ($coursessql) "
|
||||
.'AND p.userid != ? '
|
||||
.'GROUP BY d.id, d.forum, d.course, d.groupid';
|
||||
.'GROUP BY d.id, d.forum, d.course, d.groupid '
|
||||
.'ORDER BY d.course, d.forum';
|
||||
|
||||
// Avoid warnings.
|
||||
if (!$discussions = $DB->get_records_sql($sql, $params)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user