diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-24 11:17:09 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-24 11:17:09 -0400 |
| commit | 6c2c18514ee49d4d9e20c8d8ed7f3e0fa3c61307 (patch) | |
| tree | 1a5f5d2d90e1f4a23a150d1cd8ff80743b547e8a | |
| parent | 31f657e550ab8b1ea00953cc3a26f4661ee4458c (diff) | |
Small mistake with last commit
| -rw-r--r-- | install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php index 3c65a4b8..08e8046a 100644 --- a/install.php +++ b/install.php @@ -242,7 +242,7 @@ if (file_exists($config['has_installed'])) { $user['password'] = hash('sha256', $user['salt'] . $user['password']); $_query = prepare("UPDATE `mods` SET `password` = :password, `salt` = :salt WHERE `id` = :id"); - $_query->bindValue(':username', $user['id']); + $_query->bindValue(':id', $user['id']); $_query->bindValue(':password', $user['password']); $_query->bindValue(':salt', $user['salt']); $_query->execute() or error(db_error($_query)); |
