| @@ 261-267 (lines=7) @@ | ||
| 258 | $first_thumbnail_idx = -1; |
|
| 259 | if(count($output->data)) |
|
| 260 | { |
|
| 261 | foreach($output->data as $key => $attribute) |
|
| 262 | { |
|
| 263 | $oDocument = new documentItem(); |
|
| 264 | $oDocument->setAttribute($attribute, false); |
|
| 265 | $GLOBALS['XE_DOCUMENT_LIST'][$oDocument->document_srl] = $oDocument; |
|
| 266 | $document_srls[] = $oDocument->document_srl; |
|
| 267 | } |
|
| 268 | $oDocumentModel->setToAllDocumentExtraVars(); |
|
| 269 | ||
| 270 | for($i=0,$c=count($document_srls);$i<$c;$i++) |
|
| @@ 236-242 (lines=7) @@ | ||
| 233 | $first_thumbnail_idx = -1; |
|
| 234 | if(count($output->data)) |
|
| 235 | { |
|
| 236 | foreach($output->data as $key => $attribute) |
|
| 237 | { |
|
| 238 | $oDocument = new documentItem(); |
|
| 239 | $oDocument->setAttribute($attribute, false); |
|
| 240 | $GLOBALS['XE_DOCUMENT_LIST'][$oDocument->document_srl] = $oDocument; |
|
| 241 | $document_srls[] = $oDocument->document_srl; |
|
| 242 | } |
|
| 243 | $oDocumentModel->setToAllDocumentExtraVars(); |
|
| 244 | ||
| 245 | for($i=0,$c=count($document_srls);$i<$c;$i++) |
|