This commit is contained in:
Aevann1 2022-02-16 00:54:17 +02:00
parent 48dd3d97e1
commit 1f3eb88f58
5 changed files with 10 additions and 10 deletions

View file

@ -257,7 +257,7 @@ class User(Base):
posts = g.db.query(Submission.id).filter_by(author_id=self.id, is_pinned=False)
if not (v and (v.admin_level > 1 or v.id == self.id)):
posts = posts.filter_by(deleted_utc=0, is_banned=False, private=False, ghost=None)
posts = posts.filter_by(deleted_utc=0, is_banned=False, private=False, ghost=False)
now = int(time.time())
if t == 'hour':