A possible fix for bug 2629 and PostgreSQL inflexibility. ;-)

This commit is contained in:
moodler
2005-02-24 02:47:18 +00:00
parent 599f38f9db
commit 6f9e100660
+1 -1
View File
@@ -30,7 +30,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");
GROUP BY m.useridfrom, u.firstname,u.lastname,u.picture,u.lastaccess");
//Now, we have in users, the list of users to show