Small fix for the new SQL ... it works now for me on moodle.org MDL-12990
This commit is contained in:
@@ -44,6 +44,7 @@ function message_print_contacts() {
|
||||
ON u.id = mc.contactid
|
||||
LEFT OUTER JOIN {$CFG->prefix}message m
|
||||
ON m.useridfrom = mc.contactid
|
||||
AND m.useridto = {$USER->id}
|
||||
WHERE mc.userid = {$USER->id}
|
||||
AND mc.blocked = 0
|
||||
GROUP BY u.id, u.firstname, u.lastname, u.picture,
|
||||
|
||||
Reference in New Issue
Block a user