fix: request more wishes button not working

This commit is contained in:
grandeljay 2023-09-20 15:52:01 +02:00
parent 7dbe413f77
commit c986da8e23

View file

@ -68,7 +68,7 @@ switch ($_SERVER['REQUEST_METHOD']) {
/** Send email */ /** Send email */
$user = User::getFromID($wishlist['user']); $user = User::getFromID($wishlist['user']);
$email = new Email($user->email, __('Wish request', null, $user), 'default', 'wishlist-request-wishes'); $email = new Email($user->getEmail(), __('Wish request', null, $user), 'default', 'wishlist-request-wishes');
$email->setPlaceholder('TEXT_HELLO', __('Hello,', null, $user)); $email->setPlaceholder('TEXT_HELLO', __('Hello,', null, $user));
$email->setPlaceholder( $email->setPlaceholder(
'TEXT_WISHLIST_REQUEST_WISHES', 'TEXT_WISHLIST_REQUEST_WISHES',