Я буду ВНИМАТЕЛЬНО проверять код перед коммитом!

This commit is contained in:
Igor Barkov [iwork] 2018-03-06 15:11:39 +02:00
parent 807ee64890
commit 447a3bc196

View File

@ -68,7 +68,7 @@ if ($username_upd && $password_upd) {
db::c()->query('UPDATE `users` SET `pass` = "?s" WHERE `login` = "?s"', password_hash($password_upd, PASSWORD_DEFAULT), $username_upd); db::c()->query('UPDATE `users` SET `pass` = "?s" WHERE `login` = "?s"', password_hash($password_upd, PASSWORD_DEFAULT), $username_upd);
header("Location: index.php"); header("Location: index.php");
} else { } else {
$error = 'Ошибка!' $error = 'Ошибка!';
} }
} }