Merged change from stable

This commit is contained in:
moodler
2004-11-04 07:06:28 +00:00
parent 8bdbbd987c
commit 81b7339acf
+1 -1
View File
@@ -433,7 +433,7 @@ function dialogue_get_open_conversations($course) {
if (empty($USER->id)) {
return false;
}
if ($conversations = get_records_sql("SELECT d.name as dialoguename, c.id, c.dialogueid, c.timemodified, c.lastid
if ($conversations = get_records_sql("SELECT d.name AS dialoguename, c.id, c.dialogueid, c.timemodified, c.lastid
FROM {$CFG->prefix}dialogue d, {$CFG->prefix}dialogue_conversations c
WHERE d.course = $course->id
AND c.dialogueid = d.id