Fix #33 - finishing touches

This commit is contained in:
Vojtěch Sajdl
2018-04-20 17:39:34 +02:00
parent 55f669b5d8
commit b2e6954ac9
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -549,7 +549,7 @@ class User
$stmt = $mysqli->prepare("UPDATE users SET email = ? WHERE id=?");
$stmt->bind_param("sd", $email, $id);
$stmt->execute();
$query = $stmt->get_result();
$stmt->get_result();
Token::delete($token);
header("Location: ".WEB_URL."/admin/");
}