From bc553a2c492825df51456df145395f5bae2cc618 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 1 Oct 2018 11:57:34 +0200 Subject: [PATCH] Translated string will never match what's saved in DB if not english Rare jongens die Amerikanen ;) --- src/Content/ContactSelector.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 .= '