summaryrefslogtreecommitdiff
path: root/actions/emailsettings.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/emailsettings.php')
-rw-r--r--actions/emailsettings.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/emailsettings.php b/actions/emailsettings.php
index 61e59e4db..b35b4d28e 100644
--- a/actions/emailsettings.php
+++ b/actions/emailsettings.php
@@ -229,9 +229,7 @@ class EmailsettingsAction extends SettingsAction {
return;
}
- mail_confirm_address($confirm->code,
- $user->nickname,
- $email);
+ mail_confirm_address($user, $confirm->code, $user->nickname, $email);
$msg = _('A confirmation code was sent to the email address you added. Check your inbox (and spam box!) for the code and instructions on how to use it.');