diff --git a/files/routes/admin.py b/files/routes/admin.py
index 3b2f9e964d..71512ecbe0 100644
--- a/files/routes/admin.py
+++ b/files/routes/admin.py
@@ -833,7 +833,7 @@ def ban_user(user_id, v):
if user.admin_level >= v.admin_level: abort(403)
# check for number of days for suspension
- days = int(request.form.get("days")) if request.form.get('days') else 0
+ days = int(request.values.get("days")) if request.values.get('days') else 0
reason = sanitize(request.values.get("reason", ""))
message = request.values.get("reason", "")
diff --git a/files/templates/comments.html b/files/templates/comments.html
index 10a1602079..6a04f25f59 100644
--- a/files/templates/comments.html
+++ b/files/templates/comments.html
@@ -335,7 +335,7 @@
{% if v and v.admin_level==6 and v.id != c.author_id %}
{% endif %}
{% if v and v.admin_level >=4 and c.oauth_app %}
@@ -494,7 +494,7 @@
{% if v and (c.post and v.admin_level == 6) %}
{% if c.author_id != v.id %}
-