Skip to content

Commit

Permalink
Fix send email to Pixel
Browse files Browse the repository at this point in the history
  • Loading branch information
kseghair committed Sep 6, 2023
1 parent 93b13ed commit b0c7c03
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 b0c7c03

Please sign in to comment.