From: toyomoyo Date: Wed, 17 Oct 2007 07:28:17 +0000 (+0000) Subject: closing the $rs X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=82f66bed7b7cde68d870525fb8514c7e8a4cc610;p=moodle.git closing the $rs --- diff --git a/mod/chat/lib.php b/mod/chat/lib.php index c8f68fc723..da204e6d5e 100644 --- a/mod/chat/lib.php +++ b/mod/chat/lib.php @@ -365,6 +365,8 @@ function chat_get_latest_message($chatid, $groupid=0) { } $result = rs_fetch_record($rs); + + rs_close($rs); return $result; }