mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Fix invalid request error in getFileList()
This commit is contained in:
parent
7b763f0aec
commit
9f95a7f9e1
1 changed files with 1 additions and 5 deletions
|
|
@ -250,11 +250,7 @@ class fileModel extends file
|
|||
{
|
||||
$targetItem = $oCommentModel->getComment($upload_target_srl);
|
||||
}
|
||||
if(!$targetItem->isExists())
|
||||
{
|
||||
return new Object(-1, 'msg_invalid_request');
|
||||
}
|
||||
if($targetItem->isSecret() && !$targetItem->isGranted())
|
||||
if($targetItem->isExists() && $targetItem->isSecret() && !$targetItem->isGranted())
|
||||
{
|
||||
return new Object(-1, 'msg_invalid_request');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue