This commit is contained in:
Aevann1 2021-09-03 23:46:39 +02:00
parent 5be382859a
commit 8f0e4ba189

View file

@ -307,7 +307,7 @@ def api_comment(v):
g.db.add(c_based)
g.db.flush()
if c.level == 0: basedguy = get_account(c.parent_submission.author_id)
if level == 0: basedguy = get_account(c.parent_submission.author_id)
else: basedguy = get_account(c.parent_comment.author_id)
basedguy.basedcount += 1
g.db.add(basedguy)