Skip to content

Commit

Permalink
Fix missing post values in admin request quote by mail
Browse files Browse the repository at this point in the history
  • Loading branch information
loremipsum31 authored Feb 21, 2024
1 parent dad6f67 commit 5e19269
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions controllers/front/mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ public function displayAjaxSetRequest()
'message' => $this->l('You have to consent our data policy terms'),
]));
}
$firstName = Tools::getValue('everfirstName');
$lastName = Tools::getValue('everlastName');
$email = Tools::getValue('everemail');
$phone = Tools::getValue('everphone');
$contacted = Tools::getValue('evercontacted');
$firstName = Tools::getValue('quotefirstName');
$lastName = Tools::getValue('quotelastName');
$email = Tools::getValue('quoteemail');
$phone = Tools::getValue('quotephone');
$contacted = Tools::getValue('contacted');
$sent = $this->sendQuoteAdminMail($firstName, $lastName, $email, $phone, $contacted);
die(json_encode([
'sent' => $sent,
Expand Down

0 comments on commit 5e19269

Please sign in to comment.