aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/User.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2013-09-06 15:02:30 +0700
committerGravatar Ugnich Anton2013-09-06 15:02:30 +0700
commit02fa30624211b46c8f2adcd0c459ffeb1c35a743 (patch)
tree68fc8e0678395ae3cad98d5e4bcab7d9ea417961 /src/java/com/juick/http/www/User.java
parente1d907ac56fcfe5c380ef781530488c799a1f477 (diff)
Bugfixes: PNG, tags, htmlencode
Diffstat (limited to 'src/java/com/juick/http/www/User.java')
-rw-r--r--src/java/com/juick/http/www/User.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/juick/http/www/User.java b/src/java/com/juick/http/www/User.java
index 83226089..3b526727 100644
--- a/src/java/com/juick/http/www/User.java
+++ b/src/java/com/juick/http/www/User.java
@@ -304,7 +304,7 @@ public class User {
} else {
out.println(" <li><a href=\"/post?body=BL+%40" + user.UName + "\" title=\"" + rb.getString("(UToolbar) Block") + "\"><div style=\"background-position: -80px 0\"></div></a></li>");
}
- if (!UserQueries.isInBL(sql, user.UID, visitor.UID)) {
+ if (!UserQueries.isInBL(sql, user.UID, visitor.UID) && !UserQueries.isInBL(sql, visitor.UID, user.UID)) {
out.println(" <li><a href=\"/post?body=PM+%40" + user.UName + "\" title=\"" + rb.getString("(UToolbar) Private") + "\"><div style=\"background-position: -112px 0\"></div></a></li>");
}
out.println(" </ul>");