mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-23 23:16:53 +00:00
Update html.php
This commit is contained in:
parent
e5062bc5dd
commit
0e8e75cec0
@ -10,7 +10,7 @@ function displayBridgeCard($bridgeName, $formats, $isActive = true){
|
|||||||
// If we have a defined array of compatibles formats : show only helperbuttons for thoses formats.
|
// If we have a defined array of compatibles formats : show only helperbuttons for thoses formats.
|
||||||
// If we dont have any defined array of compatibles formats : show helperbuttons for every availables formats.
|
// If we dont have any defined array of compatibles formats : show helperbuttons for every availables formats.
|
||||||
$compatiblesFormats = array();
|
$compatiblesFormats = array();
|
||||||
if (defined($bridgeClass::FORMATS)&&(count($bridgeClass::FORMATS) > 0)){
|
if (!empty($bridgeClass::FORMATS)){
|
||||||
$bridgeFormats = $bridgeClass::FORMATS;
|
$bridgeFormats = $bridgeClass::FORMATS;
|
||||||
//check if format exists
|
//check if format exists
|
||||||
foreach($bridgeFormats as $name){
|
foreach($bridgeFormats as $name){
|
||||||
|
Loading…
Reference in New Issue
Block a user