upload_target_srl을 정수형으로 설정. ( IE에서 자동 저장된 문서에서 파일 첨부시 null로 target을 설정해서 오류가 난다. )

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6843 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-10-11 03:36:42 +00:00
parent 9d61480e34
commit 7020d179e5

View file

@ -24,7 +24,7 @@
// 기본적으로 필요한 변수 설정
$oFileModel = &getModel('file');
$editor_sequence = Context::get('editor_sequence');
$upload_target_srl = Context::get('uploadTargetSrl');
$upload_target_srl = intval(Context::get('uploadTargetSrl'));
$module_srl = $this->module_srl;
// 업로드 권한이 없거나 정보가 없을시 종료
@ -53,7 +53,7 @@
$editor_sequence = Context::get('editor_sequence');
$callback = Context::get('callback');
$module_srl = $this->module_srl;
$upload_target_srl = Context::get('uploadTargetSrl');
$upload_target_srl = intval(Context::get('uploadTargetSrl'));
// 업로드 권한이 없거나 정보가 없을시 종료
if(!$_SESSION['upload_info'][$editor_sequence]->enabled) exit();