|
@@ -469,7 +469,7 @@ class Form {
|
|
|
<?php
|
|
<?php
|
|
|
foreach($options->values as $index => $value) {
|
|
foreach($options->values as $index => $value) {
|
|
|
$display = $options->displayStrings[$index];
|
|
$display = $options->displayStrings[$index];
|
|
|
- $checked = ($current_value === (string) $value) ? "checked" : "";
|
|
|
|
|
|
|
+ $checked = ((string) $current_value === (string) $value) ? "checked" : "";
|
|
|
$radio_id = sprintf("%s-%s", $id, $value);
|
|
$radio_id = sprintf("%s-%s", $id, $value);
|
|
|
|
|
|
|
|
if($index === 0 && $current_value === null) {
|
|
if($index === 0 && $current_value === null) {
|