summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-06 21:51:10 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-06 21:51:10 +0000
commit1af4618908bb9b54df93165ac645a45834203e1a (patch)
tree79c6ca45d464f15fdf9dead268e154f0576ad9ac /includes
parent74198b66f8e3de07805100a72a04538690b7b890 (diff)
downloadbrdo-1af4618908bb9b54df93165ac645a45834203e1a.tar.gz
brdo-1af4618908bb9b54df93165ac645a45834203e1a.tar.bz2
#922370 by ksenzee: Fixed system_update_7004() goes into an infinite loop (beta blocker).
Diffstat (limited to 'includes')
-rw-r--r--includes/update.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/update.inc b/includes/update.inc
index de200d6b6..492f62756 100644
--- a/includes/update.inc
+++ b/includes/update.inc
@@ -360,6 +360,7 @@ function update_fix_d7_block_deltas(&$sandbox, $renamed_deltas, $moved_deltas) {
$result = db_select('users', 'u')
->fields('u', array('uid', 'data'))
->condition('uid', $sandbox['last_user_processed'], '>')
+ ->orderBy('uid', 'ASC')
->where('data IS NOT NULL')
->range(0, $limit)
->execute();