diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-03-04 22:38:51 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-03-04 22:38:51 +0000 |
commit | d797819821900ca328345b5a186ee5859789e654 (patch) | |
tree | 309213d6639413b46af343d9a8886708e429e9e2 /database | |
parent | 650f22bc7f900699dd4cb133af507ac0d952745d (diff) | |
download | brdo-d797819821900ca328345b5a186ee5859789e654.tar.gz brdo-d797819821900ca328345b5a186ee5859789e654.tar.bz2 |
- #52403: Comment order messed up on update.
Diffstat (limited to 'database')
-rw-r--r-- | database/updates.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/updates.inc b/database/updates.inc index ddf3c4500..f3936818c 100644 --- a/database/updates.inc +++ b/database/updates.inc @@ -1566,7 +1566,7 @@ function system_update_172() { include_once './modules/comment.module'; $limit = 20; - $result = db_query_range("SELECT cid, thread FROM {comments} WHERE cid > %d", $_SESSION['system_update_172'], 0, $limit); + $result = db_query_range("SELECT cid, thread FROM {comments} WHERE cid > %d ORDER BY cid ASC", $_SESSION['system_update_172'], 0, $limit); while ($comment = db_fetch_object($result)) { $_SESSION['system_update_172'] = $comment->cid; $thread = explode('.', rtrim($comment->thread, '/')); |