mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
수동으로 댓글 작성 시 로그인한 회원에게 작성된 댓글 권한이 넘어가는 문제.
$manual_inserted
This commit is contained in:
parent
81adc9ffac
commit
bfc0f30caa
1 changed files with 4 additions and 1 deletions
|
|
@ -333,7 +333,10 @@ class documentController extends document
|
|||
$oDB->commit();
|
||||
|
||||
// return
|
||||
$this->addGrant($obj->document_srl);
|
||||
if(!$manual_inserted)
|
||||
{
|
||||
$this->addGrant($obj->document_srl);
|
||||
}
|
||||
$output->add('document_srl',$obj->document_srl);
|
||||
$output->add('category_srl',$obj->category_srl);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue