sfd
This commit is contained in:
parent
a00494e9d6
commit
5c22289b1e
1 changed files with 2 additions and 2 deletions
|
@ -1531,10 +1531,10 @@ def admin_distinguish_comment(c_id, v):
|
|||
|
||||
if comment.distinguish_level:
|
||||
comment.distinguish_level = 0
|
||||
kind = 'distinguish_comment'
|
||||
kind = 'undistinguish_comment'
|
||||
else:
|
||||
comment.distinguish_level = v.admin_level
|
||||
kind = 'undistinguish_comment'
|
||||
kind = 'distinguish_comment'
|
||||
|
||||
g.db.add(comment)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue