mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
Fix incorrect handling of secret comments in commentItem::isAccessible()
Regression #961 댓글은 비밀 여부를 status 필드가 아니라 is_secret 필드로 표시함. 문서 모듈 쪽의 코드를 그대로 복붙하여 발생한 오류로 보임.
This commit is contained in:
parent
17bec44046
commit
ba1942a65d
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ class commentItem extends BaseObject
|
|||
return true;
|
||||
}
|
||||
|
||||
if ($this->get('status') == RX_STATUS_PUBLIC)
|
||||
if ($this->get('status') == RX_STATUS_PUBLIC && $this->get('is_secret') !== 'Y')
|
||||
{
|
||||
$this->setAccessible();
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue