X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fidentity.php;h=8138e9b046871ac8f757082db961201f968c805a;hb=364d88fa7016d961d0c00b6c22245451ccc8b5e1;hp=ab80c71cea1889f357f4ed3b2973c69c7752e5cb;hpb=d27b342f7d10ea7523e8b69220c0b8a9c0697a19;p=friendica.git diff --git a/include/identity.php b/include/identity.php index ab80c71cea..8138e9b046 100644 --- a/include/identity.php +++ b/include/identity.php @@ -652,7 +652,7 @@ function advanced_profile(App $a) { $profile['marital']['with'] = $a->profile['with']; } - if (strlen($a->profile['howlong']) && $a->profile['howlong'] !== '0000-00-00 00:00:00') { + if (strlen($a->profile['howlong']) && $a->profile['howlong'] >= NULL_DATE) { $profile['howlong'] = relative_date($a->profile['howlong'], t('for %1$d %2$s')); }