mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
게시물의 이동/복사시에 글의 순서가 유지되도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2747 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
27fb2efd26
commit
05a1a791d8
1 changed files with 2 additions and 2 deletions
|
|
@ -135,7 +135,7 @@
|
|||
$oDB = &DB::getInstance();
|
||||
$oDB->begin();
|
||||
|
||||
for($i=0;$i<count($document_srl_list);$i++) {
|
||||
for($i=count($document_srl_list)-1;$i>=0;$i--) {
|
||||
$document_srl = $document_srl_list[$i];
|
||||
$oDocument = $oDocumentModel->getDocument($document_srl);
|
||||
if(!$oDocument->isExists()) continue;
|
||||
|
|
@ -202,7 +202,7 @@
|
|||
$oDB = &DB::getInstance();
|
||||
$oDB->begin();
|
||||
|
||||
for($i=0;$i<count($document_srl_list);$i++) {
|
||||
for($i=count($document_srl_list)-1;$i>=0;$i--) {
|
||||
$document_srl = $document_srl_list[$i];
|
||||
$oDocument = $oDocumentModel->getDocument($document_srl);
|
||||
if(!$oDocument->isExists()) continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue