diff --git a/trunk/src/AppBundle/Entity/Traveler.php b/trunk/src/AppBundle/Entity/Traveler.php index ad2038a9..83733b61 100644 --- a/trunk/src/AppBundle/Entity/Traveler.php +++ b/trunk/src/AppBundle/Entity/Traveler.php @@ -88,7 +88,7 @@ class Traveler */ public function getBirthDate() { - if(($this->birthDate instanceof String) && !strtotime($this->birthDate)){ + if(!is_object($this->birthDate) && !strtotime($this->birthDate)){ return '01.01.1900'; } return $this->birthDate;