Merge pull request #684 from izuzero/develop

프로그램에 의해 글 작성 시 로그인한 회원에게 작성된 문서의 권한이 생기는 문제.
This commit is contained in:
akasima 2014-07-03 14:00:46 +09:00
commit a3e99d5075
2 changed files with 23 additions and 10 deletions

View file

@ -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);