Skip to content

Commit

Permalink
Merge pull request #466 from PrestaShopCorp/fix/send-email-pixel
Browse files Browse the repository at this point in the history
Fix send email to Pixel
  • Loading branch information
Quetzacoalt91 authored Sep 6, 2023
2 parents 93b13ed + b0c7c03 commit 1b76748
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/Utility/CustomerInformationUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ public static function getCustomerInformationForPixel(Customer $customer)
}

$arrayReturned['firstname'] = $customer->firstname ? Tools::strtolower($customer->firstname) : null;
$arrayReturned['lastname'] = $customer->firstname ? Tools::strtolower($customer->lastname) : null;
$arrayReturned['email'] = $customer->firstname ? Tools::strtolower($customer->email) : null;
$arrayReturned['lastname'] = $customer->lastname ? Tools::strtolower($customer->lastname) : null;
$arrayReturned['email'] = $customer->email ? Tools::strtolower($customer->email) : null;

return $arrayReturned;
}
Expand Down

0 comments on commit 1b76748

Please sign in to comment.