1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Fix joining when no message exists

This commit is contained in:
Tim Düsterhus 2013-07-07 22:32:04 +02:00
parent 61c835cd38
commit 161d0504f0

View File

@ -236,7 +236,7 @@ public function join() {
'chatRoomID' => $room->roomID,
'chatAway' => null,
'chatLastActivity' => TIME_NOW,
'chatLastSeen' => $stmt->fetchColumn()
'chatLastSeen' => $stmt->fetchColumn() ?: 0
));
// add activity points