#18883532 TTXML로 글을 가져 올 때 textyle의 발행 상태를 잘못 가져오는 문제 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7436 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2010-05-11 09:41:00 +00:00
parent 8103a9cc01
commit 88b3ff36c8

View file

@ -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);