From 74fe53466bbefb0b6a0d5685e50d3465b793319e Mon Sep 17 00:00:00 2001 From: fireworks88 Date: Mon, 26 Jul 2021 17:53:04 +0200 Subject: [PATCH] sneed --- drama/classes/submission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drama/classes/submission.py b/drama/classes/submission.py index 3e49ce34b..5333f844e 100644 --- a/drama/classes/submission.py +++ b/drama/classes/submission.py @@ -175,7 +175,7 @@ class Submission(Base, Stndrd, Age_times, Scores, Fuzzing): def rendered_page(self, sort=None, comment=None, comment_info=None, v=None): # check for banned - if v and v.admin_level >= 3: + if v and (v.admin_level >= 3 or self.author_id == v.id): template = "submission.html" elif self.is_banned: template = "submission_banned.html"