From: moodler Date: Mon, 21 Jul 2003 05:08:46 +0000 (+0000) Subject: Was cropping first/last message - fixed now X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1ec3c09b6b6f508d5e0c155a70e788a55e58f9cf;p=moodle.git Was cropping first/last message - fixed now --- diff --git a/mod/chat/report.php b/mod/chat/report.php index d64b71c72a..27f5c689b2 100644 --- a/mod/chat/report.php +++ b/mod/chat/report.php @@ -49,8 +49,8 @@ "", "", true, "", navmenu($course, $cm)); if (!$messages = get_records_select("chat_messages", "chatid = $chat->id AND - timestamp > '$start' AND - timestamp < '$end'", "timestamp ASC")) { + timestamp >= '$start' AND + timestamp <= '$end'", "timestamp ASC")) { print_heading(get_string("nomessages", "chat")); } else {