diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-05-10 02:17:14 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-05-10 02:17:14 -0700 |
commit | 86aac4847705f0a4559400da6c0e9f1aeba5cdf8 (patch) | |
tree | c8c43ab196e5a0a4d280ea84152be5d0e061e0c7 /pages/chat.php | |
parent | 51d99728286212717003009dd5706bb74edcb272 (diff) | |
download | pathery-86aac4847705f0a4559400da6c0e9f1aeba5cdf8.tar.xz |
Many bugs and PHP notices & warning fixes.
Diffstat (limited to 'pages/chat.php')
-rw-r--r-- | pages/chat.php | 2 |
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';
|