Update point.admin.controller.php

This commit is contained in:
sejin7940 2014-08-30 21:06:47 +09:00
parent ac4a4cee75
commit 54eb8a6345

View file

@ -99,7 +99,7 @@ class pointAdminController extends point
{
$args = Context::getRequestVars();
$configTypeList = array('insert_document', 'insert_comment', 'upload_file', 'download_file', 'read_document', 'voted', 'blamed');
$configTypeList = array('insert_document', 'insert_comment', 'upload_file', 'download_file', 'read_document', 'voted', 'blamed', 'voted_comment', 'blamed_comment');
foreach($configTypeList AS $config)
{
if(is_array($args->{$config}))
@ -153,6 +153,8 @@ class pointAdminController extends point
$config['read_document'] = (int)Context::get('read_document');
$config['voted'] = (int)Context::get('voted');
$config['blamed'] = (int)Context::get('blamed');
$config['voted_comment'] = (int)Context::get('voted_comment');
$config['blamed_comment'] = (int)Context::get('blamed_comment');
$oModuleController->insertModulePartConfig('point', $srl, $config);
}