mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
[Bridge] Fix incorrect switch variable
This commit is contained in:
parent
04bddd0758
commit
d1ff23c7ba
@ -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 New Issue
Block a user