mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Fix new documents being marked as notice
This commit is contained in:
parent
a6e55dcdee
commit
88a5193523
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ class documentItem extends BaseObject
|
||||||
|
|
||||||
function isNotice()
|
function isNotice()
|
||||||
{
|
{
|
||||||
return (bool) ($this->get('is_notice') !== 'N');
|
return (bool) ($this->get('is_notice') === 'Y' || $this->get('is_notice') === 'A');
|
||||||
}
|
}
|
||||||
|
|
||||||
function useNotify()
|
function useNotify()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue