mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-22 22:46:53 +00:00
commit
db3655519f
@ -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 dont have any defined array of compatibles formats : show helperbuttons for every availables formats.
|
||||
$compatiblesFormats = array();
|
||||
if (defined($bridgeClass::FORMATS)&&(count($bridgeClass::FORMATS) > 0)){
|
||||
if (!empty($bridgeClass::FORMATS)){
|
||||
$bridgeFormats = $bridgeClass::FORMATS;
|
||||
//check if format exists
|
||||
foreach($bridgeFormats as $name){
|
||||
|
Loading…
Reference in New Issue
Block a user