mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 10:52:14 +09:00
#17223844 첨부파일 목록에서 존재하지 않는 빈 파일이 출력되는 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4475 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e1285f9811
commit
a93aa4afcc
1 changed files with 3 additions and 3 deletions
|
|
@ -55,7 +55,6 @@
|
|||
}
|
||||
|
||||
// 목록의 loop를 돌면서 document를 구하기
|
||||
$file_count = count($output->data);
|
||||
if($file_count) {
|
||||
$document_srl_list = array();
|
||||
|
||||
|
|
@ -73,8 +72,9 @@
|
|||
$comment_list[$val->comment_srl] = $val->document_srl;
|
||||
}
|
||||
|
||||
for($i=1; $i <= count($output->data); $i++) {
|
||||
$output->data[$i]->target_document_srl = $comment_list[$output->data[$i]->upload_target_srl];
|
||||
$file_list_keys = array_keys($output->data);
|
||||
for($i=0; $i < $file_count; $i++) {
|
||||
$output->data[$file_list_keys[$i]]->target_document_srl = $comment_list[$output->data[$file_list_keys[$i]]->upload_target_srl];
|
||||
}
|
||||
|
||||
foreach($comment_output as $val) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue