]> git.mxchange.org Git - friendica.git/blobdiff - include/identity.php
Fix ostatus bug related to only_full_group_by
[friendica.git] / include / identity.php
index 670337e0871b9c567d7e04fd301e3a505b124729..8138e9b046871ac8f757082db961201f968c805a 100644 (file)
@@ -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');