mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
fix typo
This commit is contained in:
parent
64528499f8
commit
35537e5e89
@ -73,9 +73,9 @@ class OptionField extends BaseField
|
||||
$result = array ();
|
||||
foreach ($this->internalOptionList as $optKey => $optValue) {
|
||||
if ($optKey == $this->internalValue) {
|
||||
$selected = 0;
|
||||
} else {
|
||||
$selected = 1;
|
||||
} else {
|
||||
$selected = 0;
|
||||
}
|
||||
$result[$optKey] = array("value"=>$optKey,"description" => $optValue, "selected" => $selected);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user