1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-04 15:47:32 +02:00

fix: operator precedence bug (#4494)

This commit is contained in:
Dag
2025-03-25 23:52:47 +01:00
committed by GitHub
parent 1c45eff505
commit 9d6aa5ee38

View File

@@ -240,7 +240,7 @@ abstract class BridgeAbstract
if (isset($input[$name])) {
$value = $input[$name];
} else {
if ($properties['type'] ?? null === 'checkbox') {
if (($properties['type'] ?? null) === 'checkbox') {
$value = false;
} elseif (isset($properties['defaultValue'])) {
$value = $properties['defaultValue'];