Fix to get around a problem in get_records with one-field results ..
This commit is contained in:
+1
-1
@@ -978,7 +978,7 @@ function message_get_participants() {
|
||||
|
||||
global $CFG;
|
||||
|
||||
return get_records_sql("SELECT DISTINCT u.id
|
||||
return get_records_sql("SELECT DISTINCT u.id, u.id
|
||||
FROM {$CFG->prefix}user as u,
|
||||
{$CFG->prefix}message as m,
|
||||
{$CFG->prefix}message_read as mr
|
||||
|
||||
Reference in New Issue
Block a user