diff options
author | Ugnich Anton | 2013-12-14 00:43:10 +0700 |
---|---|---|
committer | Ugnich Anton | 2013-12-14 00:43:10 +0700 |
commit | f4a45264cb8f0cfeacdb89ce9bf4c60474923f80 (patch) | |
tree | 47a7cfd203fff913c05bb83f8968e9be26c8c3b2 /src/java/com/juick/http/www/UserThread.java | |
parent | 174f7d40d76ad138dbe2ffa81dd0e2d7cdaccd24 (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.java | 2 |
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)) { |