Skip to content

Commit 3971232

Browse files
authored
Fix mail reset method call in modUser.php
1 parent 33917f8 commit 3971232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/Revolution/modUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ public function sendEmail($message, array $options = [])
958958
$err = $this->xpdo->lexicon('error_sending_email_to') . $profile->get('email') . ': ' . $mail->mailer->ErrorInfo;
959959
$this->xpdo->log(xPDO::LOG_LEVEL_ERROR, $err);
960960
}
961-
$this->xpdo->mail->reset();
961+
$mail->reset();
962962

963963
return $sent;
964964
}

0 commit comments

Comments
 (0)