Skip to content
Snippets Groups Projects
Commit ee3b0eac authored by Jared Hancock's avatar Jared Hancock
Browse files

forms: Display current value if set to bool FALSE

parent 6eb609d7
No related branches found
No related tags found
No related merge requests found
......@@ -1835,7 +1835,7 @@ class ChoicesWidget extends Widget {
}
$values = $this->value;
if (!is_array($values) && $values) {
if (!is_array($values) && isset($values)) {
$values = array($values => $this->field->getChoice($values));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment