From d48ac6f519c459a976c071a76f20a735855d30e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuli=20Sillanp=C3=A4=C3=A4?= <samuli.sillanpaa@helsinki.fi> Date: Thu, 4 Apr 2019 15:12:36 -0400 Subject: [PATCH] Bug fix: display radio labels correctly. --- module/VuFind/src/VuFind/Form/Form.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/VuFind/src/VuFind/Form/Form.php b/module/VuFind/src/VuFind/Form/Form.php index 08ee05d137d..e1389d3ddda 100644 --- a/module/VuFind/src/VuFind/Form/Form.php +++ b/module/VuFind/src/VuFind/Form/Form.php @@ -381,8 +381,8 @@ class Form extends \Zend\Form\Form implements $first = true; foreach ($options as $key => $val) { $optionElements[] = [ - 'label' => $key, - 'value' => $val, + 'label' => $val, + 'value' => $key, 'label_attributes' => ['for' => $val], 'attributes' => ['id' => $val], 'selected' => $first -- GitLab