Merge pull request #345 from stellar12/develop

is_secret 변조 방지
This commit is contained in:
bnu 2014-01-19 16:19:57 -08:00
commit 768d8a070e

View file

@ -204,6 +204,10 @@ class boardController extends board
// get the relevant data for inserting comment
$obj = Context::getRequestVars();
$obj->module_srl = $this->module_srl;
if($this->module_info->secret!='Y') {
unset($obj->is_secret);
}
// check if the doument is existed
$oDocumentModel = getModel('document');