1
0
Fork 0
forked from blallo/rss-bridge

[HTMLUtils] Make 'required' attribute Boolean

The 'required' attribute can now be used for all parameters and
enabled/disabled using Boolean states true/false respectively:

"required" : true

or

"required" : false

This now complies to the Wiki:
https://github.com/RSS-Bridge/rss-bridge/wiki/BridgeAbstract
This commit is contained in:
logmanoriginal 2016-08-15 01:14:00 +02:00
parent a70e143dc4
commit c689180fef

View file

@ -91,7 +91,7 @@ CARD;
foreach($parameter as $inputEntry) {
$additionalInfoString = "";
if(isset($inputEntry['required'])) {
if(isset($inputEntry['required']) && $inputEntry['required'] === true) {
$additionalInfoString .= " required";