forked from MarseyWorld/MarseyWorld
master
parent
22b56ad9ad
commit
cd9f700f13
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue