From b284783566725758e14a7e168c5daf99a9b08ebf Mon Sep 17 00:00:00 2001 From: ngleader Date: Tue, 7 Apr 2009 07:44:11 +0000 Subject: [PATCH] =?UTF-8?q?fix=20=EC=84=AC=EB=84=A4=EC=9D=BC=EC=83=9D?= =?UTF-8?q?=EC=84=B1=20=EC=98=88=EC=99=B8=20=EC=B2=98=EB=A6=AC=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6042 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/document/document.item.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/document/document.item.php b/modules/document/document.item.php index 28b584b4e..f85b255af 100644 --- a/modules/document/document.item.php +++ b/modules/document/document.item.php @@ -542,8 +542,9 @@ } } - $output = FileHandler::createImageFile($source_file, $thumbnail_file, $width, $height, 'jpg', $thumbnail_type); - + if($source_file){ + $output = FileHandler::createImageFile($source_file, $thumbnail_file, $width, $height, 'jpg', $thumbnail_type); + } if($is_tmp_file) FileHandler::removeFile($source_file); // 썸네일 생성 성공시 경로 return