mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-13482 fixed pg issue with group by; merged from MOODLE_19_STABLE
This commit is contained in:
parent
9e0d74410c
commit
2b0689c912
@ -33,7 +33,7 @@ class block_messages extends block_base {
|
||||
{$CFG->prefix}message m
|
||||
WHERE m.useridto = '$USER->id'
|
||||
AND u.id = m.useridfrom
|
||||
GROUP BY m.useridfrom, u.firstname,u.lastname,u.picture,u.lastaccess");
|
||||
GROUP BY m.useridfrom, u.firstname,u.lastname,u.picture,u.lastaccess,u.imagealt");
|
||||
|
||||
|
||||
//Now, we have in users, the list of users to show
|
||||
|
Loading…
x
Reference in New Issue
Block a user