mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix regression from 26f923d when anonymous comment is deleted
This commit is contained in:
parent
585ea0f1d3
commit
62f04a1e02
1 changed files with 1 additions and 1 deletions
|
|
@ -1087,7 +1087,7 @@ class CommentController extends Comment
|
|||
}
|
||||
|
||||
// If the case manager to delete comments, it indicated that the administrator deleted.
|
||||
if($obj->member_srl !== $this->user->member_srl && $this->user->member_srl)
|
||||
if(abs($obj->member_srl) != $this->user->member_srl && $this->user->member_srl)
|
||||
{
|
||||
$obj->content = lang('msg_admin_deleted_comment');
|
||||
$obj->status = RX_STATUS_DELETED_BY_ADMIN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue