From 3c3529691287b87eaa07c6de239dd2be61997fcb Mon Sep 17 00:00:00 2001 From: sejin7940 Date: Fri, 13 Jun 2014 00:34:25 +0900 Subject: [PATCH] =?UTF-8?q?DB=20import=EC=8B=9C=20=EB=8C=93=EA=B8=80?= =?UTF-8?q?=EC=9D=98=20status=20=EA=B0=92=EC=9D=B4=200=20=EC=9D=B4=20?= =?UTF-8?q?=EB=93=A4=EC=96=B4=EA=B0=80=EC=84=9C=20=EB=8C=93=EA=B8=80?= =?UTF-8?q?=EC=A0=95=EB=A0=AC=EC=9D=B4=20=EA=B9=A8=EC=A7=80=EB=8A=94=20?= =?UTF-8?q?=ED=98=84=EC=83=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DB import 시 댓글의 status 값이 0 이 들어가서 댓글정렬이 깨지는 현상 수정. 기본값을 1 로 변경 --- modules/importer/importer.admin.controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/importer/importer.admin.controller.php b/modules/importer/importer.admin.controller.php index e99773ad4..60c51da6b 100644 --- a/modules/importer/importer.admin.controller.php +++ b/modules/importer/importer.admin.controller.php @@ -937,7 +937,7 @@ class importerAdminController extends importer $obj->last_update = base64_decode($xmlDoc->comment->update->body); if(!$obj->last_update) $obj->last_update = $obj->regdate; $obj->ipaddress = base64_decode($xmlDoc->comment->ipaddress->body); - $obj->status = base64_decode($xmlDoc->comment->status->body); + $obj->status = base64_decode($xmlDoc->comment->status->body)==''?'1':base64_decode($xmlDoc->comment->status->body); $obj->list_order = $obj->comment_srl*-1; // Change content information (attachment) if(count($files))