Permalink
Browse files

Applying new rs_xxx() functions everywhere. MDL-8134

Merged from MOODLE_17_STABLE
  • Loading branch information...
stronk7
stronk7 committed Jan 29, 2007
1 parent 77b8837 commit 4bf75b33b4b2164d60f597dd06a8864281ec039c
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/chat/lib.php
View
@@ -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
}

0 comments on commit 4bf75b3

Please sign in to comment.