]> git.mjollnir.org Git - moodle.git/commitdiff
Was cropping first/last message - fixed now
authormoodler <moodler>
Mon, 21 Jul 2003 05:08:46 +0000 (05:08 +0000)
committermoodler <moodler>
Mon, 21 Jul 2003 05:08:46 +0000 (05:08 +0000)
mod/chat/report.php

index d64b71c72a693bd356ca6e2ccdfca8c6383f5f0a..27f5c689b21f2fc4e517a6c9e2f7c117fb2f74ea 100644 (file)
@@ -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 {