diff --git a/html/user/opt_out.php b/html/user/opt_out.php index bd9063644d..8bfb33be3a 100644 --- a/html/user/opt_out.php +++ b/html/user/opt_out.php @@ -26,21 +26,22 @@ $code = get_str("code"); $userid = get_int('userid'); $user = lookup_user_id($userid); if (!$user) { - error_page("no user"); + error_page("no such user"); } if (salted_key($user->authenticator) != $code) { - error_page("bad code"); + error_page("invalid code"); } $result = $user->update("send_email=0"); if ($result) { - page_head("$email removed from mailing list"); + page_head("Removed from mailing list"); echo " No further emails will be sent to $user->email_addr. +

To resume getting emails, - go here + edit your project preferences. "; page_tail(); }