From b40d745c4b6155e3e23bd50f6e8f39f14e5b2d37 Mon Sep 17 00:00:00 2001 From: grandeljay Date: Thu, 16 Jun 2022 19:33:01 +0200 Subject: [PATCH] Fix invalid email recipient --- src/api/wishlists.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/wishlists.php b/src/api/wishlists.php index 137f95a0..c7077368 100644 --- a/src/api/wishlists.php +++ b/src/api/wishlists.php @@ -84,6 +84,7 @@ switch ($_SERVER['REQUEST_METHOD']) { $mjml ); + $user = new User($wishlist['user']); $emailRequest = new Email($user->email, __('Wish request'), $mjml); $emailRequest->send();