Fix invalid email recipient

This commit is contained in:
grandeljay 2022-06-16 19:33:01 +02:00
parent 5c6b5a0b72
commit b40d745c4b

View file

@ -84,6 +84,7 @@ switch ($_SERVER['REQUEST_METHOD']) {
$mjml $mjml
); );
$user = new User($wishlist['user']);
$emailRequest = new Email($user->email, __('Wish request'), $mjml); $emailRequest = new Email($user->email, __('Wish request'), $mjml);
$emailRequest->send(); $emailRequest->send();