aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/UserThread.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2013-12-14 00:43:10 +0700
committerGravatar Ugnich Anton2013-12-14 00:43:10 +0700
commitf4a45264cb8f0cfeacdb89ce9bf4c60474923f80 (patch)
tree47a7cfd203fff913c05bb83f8968e9be26c8c3b2 /src/java/com/juick/http/www/UserThread.java
parent174f7d40d76ad138dbe2ffa81dd0e2d7cdaccd24 (diff)
getVisitorUser sent X-Username header
Diffstat (limited to 'src/java/com/juick/http/www/UserThread.java')
-rw-r--r--src/java/com/juick/http/www/UserThread.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java
index 925e9f02..c37ead00 100644
--- a/src/java/com/juick/http/www/UserThread.java
+++ b/src/java/com/juick/http/www/UserThread.java
@@ -36,7 +36,7 @@ import javax.servlet.http.HttpServletResponse;
public class UserThread {
protected void doGetThread(Connection sql, HttpServletRequest request, HttpServletResponse response, com.juick.User user, int MID) throws ServletException, IOException {
- com.juick.User visitor = Utils.getVisitorUser(sql, request);
+ com.juick.User visitor = Utils.getVisitorUser(sql, request, response);
Locale locale = request.getLocale();
if (!MessagesQueries.canViewThread(sql, MID, visitor != null ? visitor.UID : 0)) {