birthday not fill
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3417 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
65338f2165
commit
cbbe07c069
1 changed files with 4 additions and 2 deletions
|
|
@ -88,8 +88,10 @@ class Traveler
|
|||
*/
|
||||
public function getBirthDate()
|
||||
{
|
||||
if(!is_object($this->birthDate) && !strtotime($this->birthDate)){
|
||||
return '01.01.1900';
|
||||
if($this->birthDate != null && $this->birthDate != ""){
|
||||
if(!is_object($this->birthDate) && !strtotime($this->birthDate)){
|
||||
return '01.01.1900';
|
||||
}
|
||||
}
|
||||
return $this->birthDate;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue