Hide "never" on profile
This commit is contained in:
@@ -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'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user