From: stronk7 Date: Mon, 29 Jan 2007 19:16:33 +0000 (+0000) Subject: Applying new rs_xxx() functions everywhere. MDL-8134 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4bf75b33b4b2164d60f597dd06a8864281ec039c;p=moodle.git Applying new rs_xxx() functions everywhere. MDL-8134 Merged from MOODLE_17_STABLE --- diff --git a/mod/chat/lib.php b/mod/chat/lib.php index 7fe38cead7..fc27434381 100644 --- a/mod/chat/lib.php +++ b/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 }