mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Remove unnecessary grant of admin rights on nonexistent documents
This commit is contained in:
parent
238d97e4ab
commit
7d508f50bd
5 changed files with 5 additions and 5 deletions
|
|
@ -265,7 +265,7 @@ class pageAdminView extends page
|
|||
function _setArticleTypeContentModify($isMobile = false)
|
||||
{
|
||||
$oDocumentModel = getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument(0, true);
|
||||
$oDocument = $oDocumentModel->getDocument(0);
|
||||
|
||||
if($isMobile)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue