mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-18 10:49:54 +09:00
썸네일 생성시 첨부파일 비교하는 부분의 코드를 수정
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2134 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
87a2ba1fc0
commit
c6cc168dcb
4 changed files with 48 additions and 51 deletions
|
|
@ -44,16 +44,14 @@
|
|||
if(!is_array($document_list)) $document_list = array($document_list);
|
||||
|
||||
$document_count = count($document_list);
|
||||
for($i=0;$i<$document_count;$i++) {
|
||||
$document_srl = $attribute->document_srl;
|
||||
$attribute = $document_list[$i];
|
||||
|
||||
foreach($document_list as $key => $attribute) {
|
||||
if(!$attribute->document_srl) continue;
|
||||
$oDocument = null;
|
||||
$oDocument = new documentItem();
|
||||
$oDocument->setAttribute($attribute);
|
||||
if($is_admin) $oDocument->setGrant();
|
||||
|
||||
$result[$document_srl] = $oDocument;
|
||||
$result[$attribute->document_srl] = $oDocument;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue