aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/User.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2014-03-08 17:34:53 +0700
committerGravatar Ugnich Anton2014-03-08 17:34:53 +0700
commitd39d1bf69b4de2d8f12d4a7547cd9f7938dc1a52 (patch)
treee0af6f56bce6f4286407855add3709ef3850b147 /src/java/com/juick/http/www/User.java
parent88f3693c53e70ad064ccc1466ddf27cae98db49a (diff)
Errors.doGet404
Diffstat (limited to 'src/java/com/juick/http/www/User.java')
-rw-r--r--src/java/com/juick/http/www/User.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/juick/http/www/User.java b/src/java/com/juick/http/www/User.java
index b517af8e..e969f856 100644
--- a/src/java/com/juick/http/www/User.java
+++ b/src/java/com/juick/http/www/User.java
@@ -55,7 +55,7 @@ public class User {
paramTag = TagQueries.getTag(sql, paramTagStr, false);
}
if (paramTag == null) {
- response.sendError(404);
+ Errors.doGet404(sql, request, response);
return;
}
}
@@ -102,7 +102,7 @@ public class User {
title = "Фотографии " + user.UName;
mids = MessagesQueries.getUserPhotos(sql, user.UID, privacy, paramBefore);
} else {
- response.sendError(404);
+ Errors.doGet404(sql, request, response);
return;
}