From e1f9e1496f6bcd256560d4f76474a027808ddc07 Mon Sep 17 00:00:00 2001 From: Andy Pieters Date: Wed, 22 Feb 2017 11:45:39 +0100 Subject: [PATCH] Fixed notice if birthdate was not set --- src/Api/Transaction/Start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/Transaction/Start.php b/src/Api/Transaction/Start.php index d31a0e5b..b84712d6 100644 --- a/src/Api/Transaction/Start.php +++ b/src/Api/Transaction/Start.php @@ -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']); }