Applying new rs_xxx() functions everywhere. MDL-8134
Merged from MOODLE_17_STABLE
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user