mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +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
|
|
@ -62,7 +62,7 @@ class layoutView extends layout
|
|||
if($module == 'ARTICLE' && !$mid)
|
||||
{
|
||||
$oDocumentModel = getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument(0, true);
|
||||
$oDocument = $oDocumentModel->getDocument(0);
|
||||
|
||||
$t = lang('article_preview_title');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue