mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
NOISSUE document의 list_order로 인해 불필요한 sequence 낭비를 줄임.
This commit is contained in:
parent
1b60833bad
commit
b2a2db12e0
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ class documentController extends document
|
|||
}
|
||||
// Set the read counts and update order.
|
||||
if(!$obj->readed_count) $obj->readed_count = 0;
|
||||
if($isLatest) $obj->update_order = $obj->list_order = getNextSequence() * -1;
|
||||
if($isLatest) $obj->update_order = $obj->list_order = $obj->document_srl * -1;
|
||||
else $obj->update_order = $obj->list_order;
|
||||
// Check the status of password hash for manually inserting. Apply md5 hashing for otherwise.
|
||||
if($obj->password && !$obj->password_is_hashed) $obj->password = md5($obj->password);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue