This commit is contained in:
Aevann1 2021-08-08 01:12:35 +02:00
parent 19b85ebcdd
commit 2b266c5512

View file

@ -58,7 +58,7 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
# context improver
try: context = int(request.args.get("context", 0))
except: context = 0
while context > 0 and c.level > 1:
while context > 0 and comment.level > 1:
parent = get_comment(c.parent_comment_id, v=v)