mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Update point.admin.controller.php
This commit is contained in:
parent
ac4a4cee75
commit
54eb8a6345
1 changed files with 3 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ class pointAdminController extends point
|
||||||
{
|
{
|
||||||
$args = Context::getRequestVars();
|
$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)
|
foreach($configTypeList AS $config)
|
||||||
{
|
{
|
||||||
if(is_array($args->{$config}))
|
if(is_array($args->{$config}))
|
||||||
|
|
@ -153,6 +153,8 @@ class pointAdminController extends point
|
||||||
$config['read_document'] = (int)Context::get('read_document');
|
$config['read_document'] = (int)Context::get('read_document');
|
||||||
$config['voted'] = (int)Context::get('voted');
|
$config['voted'] = (int)Context::get('voted');
|
||||||
$config['blamed'] = (int)Context::get('blamed');
|
$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);
|
$oModuleController->insertModulePartConfig('point', $srl, $config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue