From 1ec3c09b6b6f508d5e0c155a70e788a55e58f9cf Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 21 Jul 2003 05:08:46 +0000 Subject: [PATCH] Was cropping first/last message - fixed now --- mod/chat/report.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.5