]> git.mxchange.org Git - friendica.git/commitdiff
Hide "never" on profile
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 23 Feb 2019 23:30:05 +0000 (18:30 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 23 Feb 2019 23:37:51 +0000 (18:37 -0500)
src/Model/Profile.php

index aacceedb3a9f8876e85850c11f510b4d315f1b68..b10e9848f5893d269fe79dcb1214ceb8beff159b 100644 (file)
@@ -787,7 +787,7 @@ class Profile
                                $profile['marital']['with'] = $a->profile['with'];
                        }
 
-                       if (strlen($a->profile['howlong']) && $a->profile['howlong'] >= DBA::NULL_DATETIME) {
+                       if (strlen($a->profile['howlong']) && $a->profile['howlong'] > DBA::NULL_DATETIME) {
                                $profile['howlong'] = Temporal::getRelativeDate($a->profile['howlong'], L10n::t('for %1$d %2$s'));
                        }