"MDL-14679 fixed bug introduced by recent changes"
authorDongsheng Cai <unoter@gmail.com>
Mon, 6 Sep 2010 06:39:40 +0000 (06:39 +0000)
committerDongsheng Cai <unoter@gmail.com>
Mon, 6 Sep 2010 06:39:40 +0000 (06:39 +0000)
mod/chat/chat_ajax.php

index ad91a1b..02a1df9 100644 (file)
@@ -85,6 +85,7 @@ case 'chat':
 
         $DB->insert_record('chat_messages', $message);
         $DB->insert_record('chat_messages_current', $message);
+        echo 200;
         add_to_log($course->id, 'chat', 'talk', "view.php?id=$cm->id", $chat->id, $cm->id);
 
         ob_end_flush();