mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 06:09:55 +09:00
#319 재수정. 근본적인 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3274 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
33470cf7d3
commit
9dc432a060
1 changed files with 3 additions and 2 deletions
|
|
@ -410,7 +410,7 @@
|
|||
|
||||
$logged_info = Context::get('logged_info');
|
||||
|
||||
// form 정보를 모두 받으a
|
||||
// form 정보를 모두 받음
|
||||
$obj = Context::getRequestVars();
|
||||
|
||||
// 글의 대상 모듈을 회원 정보로 변경
|
||||
|
|
@ -432,11 +432,12 @@
|
|||
$output = $oDocumentController->insertDocument($obj);
|
||||
$msg_code = 'success_registed';
|
||||
$obj->document_srl = $output->get('document_srl');
|
||||
$oDocument = $oDocumentModel->getDocument($obj->document_srl, $this->grant->manager);
|
||||
}
|
||||
|
||||
// 등록된 첨부파일의 상태를 무효로 지정
|
||||
if($oDocument->hasUploadedFiles()) {
|
||||
$args->upload_target_srl = $obj->document_srl;
|
||||
$args->upload_target_srl = $oDocument->document_srl;
|
||||
$args->isvalid = 'N';
|
||||
executeQuery('file.updateFileValid', $args);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue