mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#18883532 TTXML로 글을 가져 올 때 textyle의 발행 상태를 잘못 가져오는 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7436 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8103a9cc01
commit
88b3ff36c8
1 changed files with 8 additions and 6 deletions
|
|
@ -219,12 +219,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
if($module_name =='textyle'){
|
||||
// 발행이 아닌 것들은 저장상태로
|
||||
if($xmlDoc->post->visibility->body != 'syndicated'){
|
||||
$obj->module_srl = $member_info->member_srl;
|
||||
}
|
||||
}
|
||||
if($module_name == 'textyle') {
|
||||
// 발행 상태의 visibility 값
|
||||
$status_published = array('public', 'syndicated');
|
||||
// 발행이 아닌 것들은 저장상태로
|
||||
if(!in_array($xmlDoc->post->visibility->body, $status_published)) {
|
||||
$obj->module_srl = $member_info->member_srl;
|
||||
}
|
||||
}
|
||||
|
||||
// 문서 입력
|
||||
$output = executeQuery('document.insertDocument', $obj);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue