From: Unknown Date: Mon, 1 Oct 2018 09:57:34 +0000 (+0200) Subject: Translated string will never match what's saved in DB if not english X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bc553a2c492825df51456df145395f5bae2cc618;p=friendica.git Translated string will never match what's saved in DB if not english Rare jongens die Amerikanen ;) --- diff --git a/src/Content/ContactSelector.php b/src/Content/ContactSelector.php index 86dd6f002d..a2cc8c3a8c 100644 --- a/src/Content/ContactSelector.php +++ b/src/Content/ContactSelector.php @@ -168,7 +168,7 @@ class ContactSelector $o .= ""; foreach ($select as $neutral => $selection) { if ($selection !== 'NOTRANSLATION') { - $selected = (($selection == $current) ? ' selected="selected" ' : ''); + $selected = (($neutral == $current) ? ' selected="selected" ' : ''); $o .= ""; } } @@ -259,7 +259,7 @@ class ContactSelector $o .= '