phpBB

Code Changes

File: phpbb/cron/task/core/update_hashes.php

  Unmodified   Added   Modified   Removed
Line 111Line 111
				// Increase number so we know that users were selected from the database
$affected_rows++;


				// Increase number so we know that users were selected from the database
$affected_rows++;


				$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);
}


				$this->db->sql_query($sql);
}