From: moodler Date: Mon, 29 Mar 2004 06:02:21 +0000 (+0000) Subject: Fixed Tim's bug with the chat not updating - bug 1151 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7626969c9c84265dc594fee5eec474e34f51a831;p=moodle.git Fixed Tim's bug with the chat not updating - bug 1151 His chat->intro had 'quotes' in it --- diff --git a/mod/chat/lib.php b/mod/chat/lib.php index 5581a4fb78..c6a77bb5d8 100644 --- a/mod/chat/lib.php +++ b/mod/chat/lib.php @@ -296,6 +296,8 @@ function chat_update_chat_times($chatid=0) { } foreach ($chats as $chat) { + unset($chat->name); + unset($chat->intro); switch ($chat->schedule) { case 1: // Single event - turn off schedule and disable $chat->chattime = 0;