diff options
Diffstat (limited to 'phpBB/phpbb/console')
| -rw-r--r-- | phpBB/phpbb/console/command/fixup/update_hashes.php | 6 | 
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();  		} | 
