mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
#608 importer 첨부파일 들여오기 버그 수정
This commit is contained in:
parent
b0b6ef993b
commit
a4950f8d96
1 changed files with 1 additions and 1 deletions
|
|
@ -1009,6 +1009,7 @@ class importerAdminController extends importer
|
||||||
$started = false;
|
$started = false;
|
||||||
$buff = null;
|
$buff = null;
|
||||||
|
|
||||||
|
$file_obj = new stdClass;
|
||||||
while(!feof($fp))
|
while(!feof($fp))
|
||||||
{
|
{
|
||||||
$str = trim(fgets($fp, 1024));
|
$str = trim(fgets($fp, 1024));
|
||||||
|
|
@ -1017,7 +1018,6 @@ class importerAdminController extends importer
|
||||||
// If it starts with <attach>, collect attachments
|
// If it starts with <attach>, collect attachments
|
||||||
if(trim($str) == '<attach>')
|
if(trim($str) == '<attach>')
|
||||||
{
|
{
|
||||||
$file_obj = new stdClass;
|
|
||||||
$file_obj->file_srl = getNextSequence();
|
$file_obj->file_srl = getNextSequence();
|
||||||
$file_obj->upload_target_srl = $upload_target_srl;
|
$file_obj->upload_target_srl = $upload_target_srl;
|
||||||
$file_obj->module_srl = $module_srl;
|
$file_obj->module_srl = $module_srl;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue