Skip to content

Commit

Permalink
[Customer] Rename dob to date_of_birth #911
Browse files Browse the repository at this point in the history
  • Loading branch information
XxXgeoXxX committed Sep 27, 2019
1 parent 33d8148 commit adb6517
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ public function execute(CustomerInterface $customer): array
$customerData['group_id'] = null;
$customerData['model'] = $customer;
$customerData['id'] = null;
$customerData['date_of_birth'] = $customerData['dob'];
if (!empty($customerData['dob'])) {
$customerData['date_of_birth'] = $customerData['dob'];
}
return $customerData;
}
}

0 comments on commit adb6517

Please sign in to comment.