NOISSUE point 모듈에서 modulePartConfig 변수를 잘못 사용하는 문제 수정.

This commit is contained in:
bnu 2014-01-09 15:19:13 +09:00
parent ddba034036
commit b75386bc42
3 changed files with 29 additions and 29 deletions

View file

@ -41,18 +41,18 @@ class pointView extends point
$module_config = $oModuleModel->getModulePartConfig('point', $current_module_srl);
if(!$module_config)
{
$module_config['insert_document'] = $config->insert_document;
$module_config['insert_comment'] = $config->insert_comment;
$module_config['upload_file'] = $config->upload_file;
$module_config['download_file'] = $config->download_file;
$module_config['read_document'] = $config->read_document;
$module_config['voted'] = $config->voted;
$module_config['blamed'] = $config->blamed;
$module_config->insert_document = $config->insert_document;
$module_config->insert_comment = $config->insert_comment;
$module_config->upload_file = $config->upload_file;
$module_config->download_file = $config->download_file;
$module_config->read_document = $config->read_document;
$module_config->voted = $config->voted;
$module_config->blamed = $config->blamed;
}
}
$module_config['module_srl'] = $current_module_srl;
$module_config['point_name'] = $config->point_name;
$module_config->module_srl = $current_module_srl;
$module_config->point_name = $config->point_name;
Context::set('module_config', $module_config);
// Set the template file
$oTemplate = &TemplateHandler::getInstance();