From dbcca9cfacbee00238025a75d74808218304061a Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 23 Feb 2019 18:30:05 -0500 Subject: [PATCH] Hide "never" on profile --- src/Model/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Profile.php b/src/Model/Profile.php index aacceedb3..b10e9848f 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -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')); }