mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Merge pull request #1845 from dewekk/fix/status-list
사용하지 않는 글쓰기 상태 값 숨김
This commit is contained in:
commit
22182c4c19
1 changed files with 4 additions and 1 deletions
|
|
@ -42,7 +42,10 @@ class boardAdminModel extends board
|
|||
|
||||
// get document status list
|
||||
$oDocumentModel = getModel('document');
|
||||
$documentStatusList = $oDocumentModel->getStatusNameList();
|
||||
$documentStatusList = array_intersect_key($oDocumentModel->getStatusNameList(), [
|
||||
'PUBLIC' => true,
|
||||
'SECRET' => true,
|
||||
]);
|
||||
Context::set('document_status_list', $documentStatusList);
|
||||
|
||||
// set order target list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue