Hide "never" on profile
This commit is contained in:
parent
b2e41e3298
commit
dbcca9cfac
1 changed files with 1 additions and 1 deletions
|
@ -787,7 +787,7 @@ class Profile
|
||||||
$profile['marital']['with'] = $a->profile['with'];
|
$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'));
|
$profile['howlong'] = Temporal::getRelativeDate($a->profile['howlong'], L10n::t('for %1$d %2$s'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue