Merge pull request #781 from sejin7940/importer_2

DB import시 댓글의 status 값이 0 이 들어가서 댓글정렬이 깨지는 현상 수정
This commit is contained in:
akasima 2014-06-13 14:40:06 +09:00
commit cf562710c2

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