diff options
Diffstat (limited to 'src/java/com/juick/http/www/User.java')
-rw-r--r-- | src/java/com/juick/http/www/User.java | 4 |
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; } |