]> git.mjollnir.org Git - moodle.git/commitdiff
closing the $rs
authortoyomoyo <toyomoyo>
Wed, 17 Oct 2007 07:28:17 +0000 (07:28 +0000)
committertoyomoyo <toyomoyo>
Wed, 17 Oct 2007 07:28:17 +0000 (07:28 +0000)
mod/chat/lib.php

index c8f68fc723802db55bebddee24fdfc5078ca5057..da204e6d5e33a0545e93ce7dcdd6d2308a14b0cc 100644 (file)
@@ -365,6 +365,8 @@ function chat_get_latest_message($chatid, $groupid=0) {
     }
 
     $result = rs_fetch_record($rs);
+    
+    rs_close($rs); 
 
     return $result;
 }