From d1ff23c7bada1b4a401b63ab1635158b1cd32fac Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Fri, 2 Sep 2016 19:53:59 +0200 Subject: [PATCH] [Bridge] Fix incorrect switch variable --- lib/Bridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;