From 7fcde37aca1e30af53441c47167b1a3f2ac2c023 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 23 Aug 2010 14:56:37 +0000 Subject: #890794 by Berdir: Fixed Upgrade tests broken on PostgreSQL. --- modules/user/user.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user') 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 -- cgit v1.2.3