mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 09:09:59 +09:00
parent
510fc05c1f
commit
8c32b15967
1 changed files with 10 additions and 0 deletions
|
|
@ -267,6 +267,16 @@ class boardView extends board
|
|||
}
|
||||
}
|
||||
|
||||
// if the document is TEMP saved, check Grant
|
||||
if($oDocument->getStatus() == 'TEMP')
|
||||
{
|
||||
$logged_info = Context::get('logged_info');
|
||||
if(!$oDocument->isGranted())
|
||||
{
|
||||
$oDocument = $oDocumentModel->getDocument(0);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue