Skip to content

Commit

Permalink
Fixed notice if birthdate was not set
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Pieters committed Feb 22, 2017
1 parent 9e5470f commit e1f9e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api/Transaction/Start.php
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ protected function getData()
}

if (!empty($this->_enduser)) {
if ($this->_enduser['birthDate']) {
if (isset($this->_enduser['birthDate'])) {
$this->_enduser['dob'] = $this->_enduser['birthDate']->format('d-m-Y');
unset($this->_enduser['birthDate']);
}
Expand Down

0 comments on commit e1f9e14

Please sign in to comment.