From 86aac4847705f0a4559400da6c0e9f1aeba5cdf8 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Fri, 10 May 2013 02:17:14 -0700 Subject: Many bugs and PHP notices & warning fixes. --- pages/chat.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pages/chat.php') 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'; -- cgit v1.2.3