diff --git a/files/templates/userpage/header.html b/files/templates/userpage/header.html index 1c416a065..18edf23e3 100644 --- a/files/templates/userpage/header.html +++ b/files/templates/userpage/header.html @@ -27,7 +27,7 @@ -{% if u.is_visible_to(v) and "/saved/" not in request.path and "/subscribed/" not in request.path and not path == '' and '/wall/comment/' not in path %} +{% if u.is_visible_to(v) and "/saved/" not in request.path and "/subscribed/" not in request.path and path != '' and '/wall/comment/' not in path %}