forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-08-31 18:12:23 +02:00
parent a05099a9bc
commit e4ba041d04
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ def notifications(v):
messages = request.args.get('messages', False)
posts = request.args.get('posts', False)
if messages:
if v.admin_level == 6: comments = g.db.query(Comment).filter(Comment.child_comments == []).all()
if v.admin_level == 6: comments = g.db.query(Comment).filter_by(child_comments = []).all()
next_exists = (len(comments) == 26)
comments = comments[:25]
elif posts: