mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 01:12:14 +09:00
trackback 설정 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4713 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
93608a2dbc
commit
2c41fbf4ed
2 changed files with 2 additions and 5 deletions
|
|
@ -63,8 +63,6 @@
|
|||
|
||||
if(!$module_srl || !$enable_trackback) return new Object(-1, 'msg_invalid_request');
|
||||
|
||||
// 설정 저장
|
||||
// 설정 저장
|
||||
for($i=0;$i<count($module_srl);$i++) {
|
||||
$srl = trim($module_srl[$i]);
|
||||
if(!$srl) continue;
|
||||
|
|
|
|||
|
|
@ -89,12 +89,11 @@
|
|||
// trackback 모듈의 config를 가져옴
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_trackback_config = $oModuleModel->getModulePartConfig('trackback', $module_srl);
|
||||
if(!$module_trackback_config->module_srl) {
|
||||
$module_trackback_config->module_srl = $module_srl;
|
||||
|
||||
if(!$module_trackback_config) {
|
||||
$trackback_config = $oModuleModel->getModuleConfig('trackback');
|
||||
$module_trackback_config->enable_trackback = $trackback_config->enable_trackback=='Y'?'Y':'N';
|
||||
}
|
||||
$module_trackback_config->module_srl = $module_srl;
|
||||
|
||||
return $module_trackback_config;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue