aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/profile.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-08-13 03:16:35 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-08-13 03:16:35 +0000
commit282367ea52940a1206d5d51a9fcd39f0407136b9 (patch)
treefa128271a4add15bf68e65ffd6a7fdaabb961628 /phpBB/profile.php
parentdf3da5934dfcbb50c5aa076515c40ae487a733b3 (diff)
downloadforums-282367ea52940a1206d5d51a9fcd39f0407136b9.tar
forums-282367ea52940a1206d5d51a9fcd39f0407136b9.tar.gz
forums-282367ea52940a1206d5d51a9fcd39f0407136b9.tar.bz2
forums-282367ea52940a1206d5d51a9fcd39f0407136b9.tar.xz
forums-282367ea52940a1206d5d51a9fcd39f0407136b9.zip
Implmented the emailer class everywhere it needs it (just registration and private message notification so far)
git-svn-id: file:///svn/phpbb/trunk@845 89ea8834-ac86-4346-8a33-228a782c2dd0
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);