Browse Source

fixed wording & formatting

pull/16/head
mauirixxx 7 years ago
parent
commit
b5e7d4e9bf
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      includes/update-email.php

+ 1
- 2
includes/update-email.php View File

@@ -4,6 +4,5 @@ $updmail = $con->prepare("UPDATE userinfo SET usermail = ? WHERE userid = ?");
$updmail->bind_param("si", $_POST['useremail'], $_SESSION['userid']);
$updmail->execute();
$_SESSION['usermail'] = $_POST['useremail'];
echo 'E-mail address updated, redirecting.';
header ("Refresh:2; url=preferences.php");
echo 'E-mail address updated.<br />';
?>

Loading…
Cancel
Save