Fix to get around a problem in get_records with one-field results ..

This commit is contained in:
moodler
2005-02-13 19:16:32 +00:00
parent d6af49274b
commit 4ac00cab59
+1 -1
View File
@@ -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