Skip to content

Commit e1f9e14

Browse files
author
Andy Pieters
committed
Fixed notice if birthdate was not set
1 parent 9e5470f commit e1f9e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Api/Transaction/Start.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ protected function getData()
444444
}
445445

446446
if (!empty($this->_enduser)) {
447-
if ($this->_enduser['birthDate']) {
447+
if (isset($this->_enduser['birthDate'])) {
448448
$this->_enduser['dob'] = $this->_enduser['birthDate']->format('d-m-Y');
449449
unset($this->_enduser['birthDate']);
450450
}

0 commit comments

Comments
 (0)