#381 php 5.4 호환성문제 수정

This commit is contained in:
khongchi 2014-01-29 01:08:49 +09:00
parent f84ecb39ce
commit 7813cb00a3
6 changed files with 9 additions and 2 deletions

View file

@ -797,6 +797,7 @@ class documentAdminController extends document
// If the post was not temorarily saved, set the attachment's status to be valid
if($oDocument->hasUploadedFiles() && $originObject->member_srl != $originObject->module_srl)
{
$args = new stdClass();
$args->upload_target_srl = $oDocument->document_srl;
$args->isvalid = 'Y';
$output = executeQuery('file.updateFileValid', $args);