summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-08-23 14:56:37 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-08-23 14:56:37 +0000
commit7fcde37aca1e30af53441c47167b1a3f2ac2c023 (patch)
treed9428d78b2faa5c48c0666b7aa6c58e892c1057d /modules/user
parentaa235ac59cff6134190da5c853594ad779f36949 (diff)
downloadbrdo-7fcde37aca1e30af53441c47167b1a3f2ac2c023.tar.gz
brdo-7fcde37aca1e30af53441c47167b1a3f2ac2c023.tar.bz2
#890794 by Berdir: Fixed Upgrade tests broken on PostgreSQL.
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/user.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.install b/modules/user/user.install
index a2369684e..5c8791f85 100644
--- a/modules/user/user.install
+++ b/modules/user/user.install
@@ -690,7 +690,7 @@ function user_update_7012(&$sandbox) {
// Initialize batch update information.
$sandbox['progress'] = 0;
$sandbox['last_user_processed'] = -1;
- $sandbox['max'] = db_query("SELECT COUNT(*) FROM {users} WHERE picture <> 0")->fetchField();
+ $sandbox['max'] = db_query("SELECT COUNT(*) FROM {users} WHERE picture <> ''")->fetchField();
}
// As a batch operation move the photos into the {file_managed} table and