aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/UserThread.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2014-03-08 16:26:50 +0700
committerGravatar Ugnich Anton2014-03-08 16:26:50 +0700
commit88f3693c53e70ad064ccc1466ddf27cae98db49a (patch)
treefbc0aa93af928137ae822017c6998519767b8cfa /src/java/com/juick/http/www/UserThread.java
parenta573191fa752c0d9155f1c9f0d8a89f044c7af7a (diff)
iPod contest
Diffstat (limited to 'src/java/com/juick/http/www/UserThread.java')
-rw-r--r--src/java/com/juick/http/www/UserThread.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java
index cf1ae76a..541af344 100644
--- a/src/java/com/juick/http/www/UserThread.java
+++ b/src/java/com/juick/http/www/UserThread.java
@@ -60,6 +60,10 @@ public class UserThread {
String title = msg.User.UName + ": " + msg.getTagsString();
+ if (visitor == null) {
+ User.pageUserRefCookie(request, response, msg.User.UID);
+ }
+
response.setContentType("text/html; charset=UTF-8");
PrintWriter out = response.getWriter();
try {