woops, okay actually fixing it properly this time

v1.18.x
psychobunny 11 years ago
parent d5e55d27ed
commit b2b76f701d

@ -61,8 +61,8 @@ SocketTopics.increaseViewCount = function(socket, tid) {
topics.increaseViewCount(tid); topics.increaseViewCount(tid);
} }
SocketTopics.markAsRead = function(socket, data) { SocketTopics.markAsRead = function(socket, tid) {
if(!data || !tid) { if(!tid || !socket.uid) {
return; return;
} }

Loading…
Cancel
Save