diff --git a/modules/importer/importer.admin.controller.php b/modules/importer/importer.admin.controller.php index 1bd38bf23..f0af11460 100644 --- a/modules/importer/importer.admin.controller.php +++ b/modules/importer/importer.admin.controller.php @@ -937,6 +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->list_order = $obj->comment_srl*-1; // Change content information (attachment) if(count($files)) @@ -1010,13 +1011,13 @@ class importerAdminController extends importer while(!feof($fp)) { - $file_obj = new stdClass; $str = trim(fgets($fp, 1024)); // If it ends with , break if(trim($str) == '') break; // If it starts with , collect attachments if(trim($str) == '') { + $file_obj = new stdClass; $file_obj->file_srl = getNextSequence(); $file_obj->upload_target_srl = $upload_target_srl; $file_obj->module_srl = $module_srl;