aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/profile.php')
-rw-r--r--phpBB/profile.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php
index fc621ccb85..a27fb4a021 100644
--- a/phpBB/profile.php
+++ b/phpBB/profile.php
@@ -344,7 +344,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
if(!empty($password) && !empty($password_confirm))
{
- // The user wants to change their password, isn't that cute..
+ // Awww, the user wants to change their password, isn't that cute..
if($password != $password_confirm)
{
$error = TRUE;
@@ -733,6 +733,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
"ACTIVATE_URL" => "http://".$SERVER_NAME."/".$PHP_SELF."?mode=activate&act_key=$act_key",
"EMAIL_SIG" => $board_config['board_email']));
$emailer->send();
+ $emailer->reset();
}
message_die(GENERAL_MESSAGE, $msg);