diff --git a/enter.php b/enter.php index 517079d..bab5c61 100644 --- a/enter.php +++ b/enter.php @@ -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); header("Location: index.php"); } else { - $error = 'Ошибка!' + $error = 'Ошибка!'; } }