diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html
index ecae5500b..cd2461208 100644
--- a/files/templates/submission_listing.html
+++ b/files/templates/submission_listing.html
@@ -260,7 +260,7 @@
{% if v.admin_level > 0 %}
Pin
Unpin
- {% if v==p.author %}
+ {% if v == p.author %}
Distinguish
Undistinguish
{% endif %}
@@ -295,7 +295,7 @@
Block user
{% endif %}
- {% if v and (v.id==p.author_id or v.admin_level > 1) %}
+ {% if v.id==p.author_id or v.admin_level > 1 %}
Mark +18
Unmark +18
{% endif %}