remotes/1693045480750635534/spooky-22
fireworks88 2021-07-26 17:53:04 +02:00
parent 6509e96bf8
commit 74fe53466b
1 changed files with 1 additions and 1 deletions

View File

@ -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"