1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-06-26 21:02:54 +02:00

[BridgeCard] Fix checkbox default value (#874)

The current solution just output "1" when checked instead of "checked"
This commit is contained in:
Antoine Turmel
2018-10-20 13:14:46 +02:00
committed by LogMANOriginal
parent ea2d54523d
commit 9820ad5c0f

View File

@ -193,7 +193,7 @@ This bridge is not fetching its content through a secure connection</div>';
. '" type="checkbox" name="'
. $name
. '" '
. ($entry['defaultValue'] === 'checked' ?: '')
. ($entry['defaultValue'] === 'checked' ? 'checked' : '')
. ' />'
. PHP_EOL;
}