forked from blallo/rss-bridge
[Bridge] Fix incorrect switch variable
This commit is contained in:
parent
04bddd0758
commit
d1ff23c7ba
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ abstract class BridgeAbstract implements BridgeInterface {
|
||||||
if(isset($this->inputs[$context][$name]['value'])){
|
if(isset($this->inputs[$context][$name]['value'])){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
switch($properties['type']){
|
switch($type){
|
||||||
case 'checkbox':
|
case 'checkbox':
|
||||||
if(!isset($properties['defaultValue'])){
|
if(!isset($properties['defaultValue'])){
|
||||||
$this->inputs[$context][$name]['value'] = false;
|
$this->inputs[$context][$name]['value'] = false;
|
||||||
|
|
Loading…
Reference in a new issue