summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();