Applying new rs_xxx() functions everywhere. MDL-8134

Merged from MOODLE_17_STABLE
This commit is contained in:
stronk7 2007-01-29 19:16:33 +00:00
parent 77b88375c3
commit 4bf75b33b4

View File

@ -354,7 +354,7 @@ function chat_get_latest_message($chatid, $groupid=0) {
return false;
}
if ($rs->RecordCount() == 1) {
return (object)$rs->fields;
return rs_fetch_record($rs);
} else {
return false; // Found no records
}