mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
잘못된 지정 수정
This commit is contained in:
parent
f8ac11bda6
commit
48c818d7de
1 changed files with 3 additions and 2 deletions
|
|
@ -214,7 +214,8 @@ class documentItem extends BaseObject
|
|||
return true;
|
||||
}
|
||||
|
||||
if ($this->get('status') === $this->getConfigStatus('public') || $this->get('status') === $this->getConfigStatus('temp'))
|
||||
$status_list = getModel('document')->getStatusList();
|
||||
if ($this->get('status') === $status_list['public'] || $this->get('status') === $status_list['temp'])
|
||||
{
|
||||
$this->setAccessible();
|
||||
return true;
|
||||
|
|
@ -302,7 +303,7 @@ class documentItem extends BaseObject
|
|||
|
||||
function isSecret()
|
||||
{
|
||||
return $this->get('status') == $this->getConfigStatus('secret');
|
||||
return $this->get('status') == getModel('document')->getConfigStatus('secret');
|
||||
}
|
||||
|
||||
function isNotice()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue