Skip to content

Commit

Permalink
Update CheckboxField.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobdenotter committed Jun 1, 2020
1 parent c4df6a6 commit eceaeda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Entity/Field/CheckboxField.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class CheckboxField extends Field implements FieldInterface, ScalarCastable

public function getTwigValue()
{
return (bool) current($this->getValue());
return current($this->getValue());
}

}

0 comments on commit eceaeda

Please sign in to comment.