mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-22 17:45:40 +03:00
[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:
parent
a70e143dc4
commit
c689180fef
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ CARD;
|
|||
foreach($parameter as $inputEntry) {
|
||||
|
||||
$additionalInfoString = "";
|
||||
if(isset($inputEntry['required'])) {
|
||||
if(isset($inputEntry['required']) && $inputEntry['required'] === true) {
|
||||
|
||||
$additionalInfoString .= " required";
|
||||
|
||||
|
|
Loading…
Reference in a new issue