X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fidentity.php;h=8138e9b046871ac8f757082db961201f968c805a;hb=364d88fa7016d961d0c00b6c22245451ccc8b5e1;hp=670337e0871b9c567d7e04fd301e3a505b124729;hpb=1624150db4d0f511d7d119eb645e997bd3f76129;p=friendica.git diff --git a/include/identity.php b/include/identity.php index 670337e087..8138e9b046 100644 --- a/include/identity.php +++ b/include/identity.php @@ -628,7 +628,7 @@ function advanced_profile(App $a) { if($a->profile['gender']) $profile['gender'] = array( t('Gender:'), $a->profile['gender'] ); - if(($a->profile['dob']) && ($a->profile['dob'] > '0001-01-01')) { + if(($a->profile['dob']) && ($a->profile['dob'] != '0000-00-00')) { $year_bd_format = t('j F, Y'); $short_bd_format = t('j F');