mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
Merge pull request #6737 from MrPetovan/bug/6630-fix-empty-label-profile
Fix "EMPTY" label in profile
This commit is contained in:
commit
9f11476ca0
4 changed files with 184 additions and 171 deletions
|
@ -150,7 +150,7 @@ class ContactSelector
|
|||
{
|
||||
$o = '';
|
||||
$select = [
|
||||
'EMPTY' => '',
|
||||
'' => L10n::t('No answer'),
|
||||
'Male' => L10n::t('Male'),
|
||||
'Female' => L10n::t('Female'),
|
||||
'Currently Male' => L10n::t('Currently Male'),
|
||||
|
@ -190,7 +190,7 @@ class ContactSelector
|
|||
{
|
||||
$o = '';
|
||||
$select = [
|
||||
'EMPTY' => '',
|
||||
'' => L10n::t('No answer'),
|
||||
'Males' => L10n::t('Males'),
|
||||
'Females' => L10n::t('Females'),
|
||||
'Gay' => L10n::t('Gay'),
|
||||
|
@ -228,7 +228,7 @@ class ContactSelector
|
|||
{
|
||||
$o = '';
|
||||
$select = [
|
||||
'EMPTY' => '',
|
||||
'' => L10n::t('No answer'),
|
||||
'Single' => L10n::t('Single'),
|
||||
'Lonely' => L10n::t('Lonely'),
|
||||
'Available' => L10n::t('Available'),
|
||||
|
|
|
@ -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'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue