mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 20:32:14 +09:00
getNextSequence() 사용
This commit is contained in:
parent
eb53df550d
commit
7d1cf90ed7
1 changed files with 1 additions and 2 deletions
|
|
@ -100,9 +100,8 @@ class boardController extends board
|
|||
// modify list_order if document status is temp
|
||||
if($oDocument->get('status') == 'TEMP')
|
||||
{
|
||||
$min_list_order = executeQuery('document.getDocumentMinListOrder')->data->list_order;
|
||||
$obj->last_update = $obj->regdate = date('YmdHis');
|
||||
$obj->update_order = $obj->list_order = $min_list_order - 1;
|
||||
$obj->update_order = $obj->list_order = (getNextSequence() * -1);
|
||||
}
|
||||
|
||||
$output = $oDocumentController->updateDocument($oDocument, $obj);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue