forked from MarseyWorld/MarseyWorld
sfd
parent
e49889e944
commit
c60adf958a
|
@ -1531,10 +1531,10 @@ def admin_distinguish_comment(c_id, v):
|
||||||
|
|
||||||
if comment.distinguish_level:
|
if comment.distinguish_level:
|
||||||
comment.distinguish_level = 0
|
comment.distinguish_level = 0
|
||||||
kind = 'distinguish_comment'
|
kind = 'undistinguish_comment'
|
||||||
else:
|
else:
|
||||||
comment.distinguish_level = v.admin_level
|
comment.distinguish_level = v.admin_level
|
||||||
kind = 'undistinguish_comment'
|
kind = 'distinguish_comment'
|
||||||
|
|
||||||
g.db.add(comment)
|
g.db.add(comment)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue