summaryrefslogtreecommitdiff
path: root/modules/user/user.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.install')
-rw-r--r--modules/user/user.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/user.install b/modules/user/user.install
index 5f63f05ea..c2c6f2830 100644
--- a/modules/user/user.install
+++ b/modules/user/user.install
@@ -295,7 +295,7 @@ function user_update_7000(&$sandbox) {
$new_hash = user_hash_password($account['pass'], $hash_count_log2);
if ($new_hash) {
// Indicate an updated password.
- $new_hash = 'U'. $new_hash;
+ $new_hash = 'U' . $new_hash;
db_query("UPDATE {users} SET pass = '%s' WHERE uid = %d", $new_hash, $account['uid']);
}
}
@@ -303,7 +303,7 @@ function user_update_7000(&$sandbox) {
$sandbox['user_from'] += $count;
if (!$has_rows) {
$ret['#finished'] = 1;
- $ret[] = array('success' => TRUE, 'query' => "UPDATE {users} SET pass = 'U'. user_hash_password(pass) WHERE uid > 0");
+ $ret[] = array('success' => TRUE, 'query' => "UPDATE {users} SET pass = 'U' . user_hash_password(pass) WHERE uid > 0");
}
}
return $ret;