diff --git a/lib/Bridge.php b/lib/Bridge.php index c6f793e..3062201 100644 --- a/lib/Bridge.php +++ b/lib/Bridge.php @@ -268,7 +268,7 @@ abstract class BridgeAbstract implements BridgeInterface { if(isset($this->inputs[$context][$name]['value'])){ continue; } - switch($properties['type']){ + switch($type){ case 'checkbox': if(!isset($properties['defaultValue'])){ $this->inputs[$context][$name]['value'] = false;