mirror of
https://github.com/moodle/moodle.git
synced 2025-02-19 07:41:02 +01:00
Applying new rs_xxx() functions everywhere. MDL-8134
Merged from MOODLE_17_STABLE
This commit is contained in:
parent
77b88375c3
commit
4bf75b33b4
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user