[Bridge] Fix incorrect switch variable

This commit is contained in:
logmanoriginal 2016-09-02 19:53:59 +02:00
parent 04bddd0758
commit d1ff23c7ba

View file

@ -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;