]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/emailsettings.php
Profile block base style
[quix0rs-gnu-social.git] / actions / emailsettings.php
index 61e59e4db122a68f78fd690829d958d72aeb1005..b35b4d28ee1a28c66b82e46454522c50332e5882 100644 (file)
@@ -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.');