aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/fixup
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2017-09-08 16:06:47 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2017-09-08 16:06:47 +0200
commit16da17a4ba4b55404dba2b3416d8c62971ba16ca (patch)
tree6db2be536f8c17411309d916934a4ecb075549ed /phpBB/phpbb/console/command/fixup
parentb75a9dcbe3393deb226303f9765be7f20851ae3a (diff)
parent93621aa1844ab48d9bae068d9872d2c49ae86de4 (diff)
downloadforums-16da17a4ba4b55404dba2b3416d8c62971ba16ca.tar
forums-16da17a4ba4b55404dba2b3416d8c62971ba16ca.tar.gz
forums-16da17a4ba4b55404dba2b3416d8c62971ba16ca.tar.bz2
forums-16da17a4ba4b55404dba2b3416d8c62971ba16ca.tar.xz
forums-16da17a4ba4b55404dba2b3416d8c62971ba16ca.zip
Merge branch '3.1.x' into 3.2.x
Diffstat (limited to 'phpBB/phpbb/console/command/fixup')
-rw-r--r--phpBB/phpbb/console/command/fixup/update_hashes.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/console/command/fixup/update_hashes.php b/phpBB/phpbb/console/command/fixup/update_hashes.php
index 4bcc3b5d19..9a0e9bc798 100644
--- a/phpBB/phpbb/console/command/fixup/update_hashes.php
+++ b/phpBB/phpbb/console/command/fixup/update_hashes.php
@@ -101,9 +101,9 @@ class update_hashes extends \phpbb\console\command\command
{
$new_hash = $this->passwords_manager->hash($row['user_password'], array($this->default_type));
- $sql = 'UPDATE ' . USERS_TABLE . '
- SET user_password = "' . $this->db->sql_escape($new_hash) . '"
- WHERE user_id = ' . (int) $row['user_id'];
+ $sql = 'UPDATE ' . USERS_TABLE . "
+ SET user_password = '" . $this->db->sql_escape($new_hash) . "'
+ WHERE user_id = " . (int) $row['user_id'];
$this->db->sql_query($sql);
$progress_bar->advance();
}