summaryrefslogtreecommitdiffstats
path: root/pages/chat.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/chat.php')
-rw-r--r--pages/chat.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/pages/chat.php b/pages/chat.php
index d479f7b..8b8217d 100644
--- a/pages/chat.php
+++ b/pages/chat.php
@@ -70,6 +70,8 @@ function getChatDone(data) {
var timestamp = postDate.format("hh:MM:ss");
var timestampDetails = postDate.format("ddd h:MM TT");
+ if (!chat.message) return;
+
var strClass = '';
if (chat.userID == userObj.ID) {
strClass += ' self';