DB import시 댓글의 status 값이 0 이 들어가서 댓글정렬이 깨지는 현상 수정

DB import 시 댓글의 status 값이 0 이 들어가서 댓글정렬이 깨지는 현상 수정. 기본값을 1 로 변경
This commit is contained in:
sejin7940 2014-06-13 00:34:25 +09:00
parent ef7f5702ad
commit 3c35296912

View file

@ -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))