Update board.controller.php

This commit is contained in:
stellar12 2014-01-20 01:34:21 +09:00
parent 91e77e90ab
commit ab5f257f49

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