Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Applying new rs_xxx() functions everywhere. MDL-8134

Merged from MOODLE_17_STABLE
  • Loading branch information...
commit 4bf75b33b4b2164d60f597dd06a8864281ec039c 1 parent 77b8837
stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/chat/lib.php
View
2  mod/chat/lib.php
@@ -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
}
Please sign in to comment.
Something went wrong with that request. Please try again.