[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="' . '" type="checkbox" name="'
. $name . $name
. '" ' . '" '
. ($entry['defaultValue'] === 'checked' ?: '') . ($entry['defaultValue'] === 'checked' ? 'checked' : '')
. ' />' . ' />'
. PHP_EOL; . PHP_EOL;
} }