썸네일 라이브러리 코드 수정

This commit is contained in:
thisgun
2018-12-26 15:48:23 +09:00
parent 129da34249
commit 3efa500b02

View File

@ -25,6 +25,7 @@ function get_list_thumbnail($bo_table, $wr_id, $thumb_width, $thumb_height, $is_
$matches = get_editor_image($write['wr_content'], false); $matches = get_editor_image($write['wr_content'], false);
$edt = true; $edt = true;
if(isset($matches[1]) && is_array($matches[1])){
for($i=0; $i<count($matches[1]); $i++) for($i=0; $i<count($matches[1]); $i++)
{ {
// 이미지 path 구함 // 이미지 path 구함
@ -51,6 +52,7 @@ function get_list_thumbnail($bo_table, $wr_id, $thumb_width, $thumb_height, $is_
} }
} }
} }
}
if(!$filename) if(!$filename)
return false; return false;