mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-24 21:03:19 +09:00
merge changes of luminous to maserati (~r12676)
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12680 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
commit
0f04bd3f92
50 changed files with 784 additions and 265 deletions
|
|
@ -754,7 +754,7 @@ class documentItem extends Object
|
|||
if($this->get('uploaded_count'))
|
||||
{
|
||||
$oFileModel = &getModel('file');
|
||||
$file_list = $oFileModel->getFiles($this->document_srl);
|
||||
$file_list = $oFileModel->getFiles($this->document_srl, array(), 'file_srl', true);
|
||||
if(count($file_list))
|
||||
{
|
||||
foreach($file_list as $file)
|
||||
|
|
@ -910,7 +910,7 @@ class documentItem extends Object
|
|||
if(!$this->uploadedFiles[$sortIndex])
|
||||
{
|
||||
$oFileModel = &getModel('file');
|
||||
$this->uploadedFiles[$sortIndex] = $oFileModel->getFiles($this->document_srl, array(), $sortIndex);
|
||||
$this->uploadedFiles[$sortIndex] = $oFileModel->getFiles($this->document_srl, array(), $sortIndex, true);
|
||||
}
|
||||
|
||||
return $this->uploadedFiles[$sortIndex];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue