mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 10:52:14 +09:00
Merge pull request #1270 from misol/temp_document_board_view
#1198 임시 저장글이 표시되지 않게 함
This commit is contained in:
commit
c68bb3d4b5
1 changed files with 9 additions and 0 deletions
|
|
@ -267,6 +267,15 @@ class boardView extends board
|
|||
}
|
||||
}
|
||||
|
||||
// if the document is TEMP saved, check Grant
|
||||
if($oDocument->getStatus() == 'TEMP')
|
||||
{
|
||||
if(!$oDocument->isGranted())
|
||||
{
|
||||
$oDocument = $oDocumentModel->getDocument(0);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue