Hide "never" on profile

This commit is contained in:
Hypolite Petovan 2019-02-23 18:30:05 -05:00
parent b2e41e3298
commit dbcca9cfac

View 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'));
}