Alan Lam пре 2 година
родитељ
комит
5ed2281f5b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      engine/form.php

+ 1 - 1
engine/form.php

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