forked from rDrama/rDrama
master
parent
63dbdc2227
commit
b92ab48062
|
@ -307,7 +307,7 @@ def api_comment(v):
|
||||||
g.db.add(c_based)
|
g.db.add(c_based)
|
||||||
g.db.flush()
|
g.db.flush()
|
||||||
|
|
||||||
if level == 1: basedguy = get_account(c.parent_submission.author_id)
|
if level == 1: basedguy = get_account(c.post.author_id)
|
||||||
else: basedguy = get_account(c.parent_comment.author_id)
|
else: basedguy = get_account(c.parent_comment.author_id)
|
||||||
basedguy.basedcount += 1
|
basedguy.basedcount += 1
|
||||||
g.db.add(basedguy)
|
g.db.add(basedguy)
|
||||||
|
|
Loading…
Reference in New Issue