From e5f309bad95b021fa91a6b89e0bb46f990833ef2 Mon Sep 17 00:00:00 2001 From: "Ji Yong, Kim" Date: Fri, 30 Apr 2021 18:45:07 +0900 Subject: [PATCH] =?UTF-8?q?Fix=20#1698=20=EB=B3=B4=EC=99=84:=20=EB=AA=A8?= =?UTF-8?q?=EB=B0=94=EC=9D=BC=EA=B3=BC=20PC=20=EB=A0=88=EC=9D=B4=EC=95=84?= =?UTF-8?q?=EC=9B=83=20=EA=B5=AC=EB=B6=84=20=EC=A1=B0=EA=B1=B4=EB=AC=B8=20?= =?UTF-8?q?=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/layout/layout.model.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/layout/layout.model.php b/modules/layout/layout.model.php index f56adc992..f77f7aa6f 100644 --- a/modules/layout/layout.model.php +++ b/modules/layout/layout.model.php @@ -93,14 +93,14 @@ class layoutModel extends layout { $thumbnailPath = sprintf('./themes/%s/layouts/%s/thumbnail.png' , $token[0], $token[1]); } - else if($layoutType == 'P') - { - $thumbnailPath = sprintf('./layouts/%s/thumbnail.png' , $val->layout); - } else if($layoutType == 'M') { $thumbnailPath = sprintf('./m.layouts/%s/thumbnail.png' , $val->layout); } + else + { + $thumbnailPath = sprintf('./layouts/%s/thumbnail.png' , $val->layout); + } if(is_readable($thumbnailPath)) { $val->thumbnail = $thumbnailPath;