From b2a2db12e000cec3263d8bff8816acf1627dca4f Mon Sep 17 00:00:00 2001 From: bnu Date: Wed, 4 Dec 2013 22:50:28 +0900 Subject: [PATCH] =?UTF-8?q?NOISSUE=20document=EC=9D=98=20list=5Forder?= =?UTF-8?q?=EB=A1=9C=20=EC=9D=B8=ED=95=B4=20=EB=B6=88=ED=95=84=EC=9A=94?= =?UTF-8?q?=ED=95=9C=20sequence=20=EB=82=AD=EB=B9=84=EB=A5=BC=20=EC=A4=84?= =?UTF-8?q?=EC=9E=84.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/document/document.controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/document/document.controller.php b/modules/document/document.controller.php index c31ae0e31..2648f53d9 100644 --- a/modules/document/document.controller.php +++ b/modules/document/document.controller.php @@ -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);