f
This commit is contained in:
parent
48dd3d97e1
commit
1f3eb88f58
5 changed files with 10 additions and 10 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue