Commit 4052c893 authored by Carsten  Rose's avatar Carsten Rose
Browse files

AbstractBuildForm.php: Select-List - setting 'selected' changed to be tolerant...

AbstractBuildForm.php: Select-List - setting 'selected' changed to be tolerant against int and string.
parent 614675b9
......@@ -1098,7 +1098,7 @@ abstract class AbstractBuildForm {
$jsonValues[] = [
'value' => $itemKey[$ii],
'text' => $itemValue[$ii],
'selected' => ($itemKey[$ii] === $value && $firstSelect)
'selected' => ($itemKey[$ii] == $value && $firstSelect)
];
if ($itemKey[$ii] === $value && $firstSelect) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment