]> 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 ab80c71cea1889f357f4ed3b2973c69c7752e5cb..8138e9b046871ac8f757082db961201f968c805a 100644 (file)
@@ -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'));
                }