mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-08 17:46:34 +02:00
bridges: Return default values for getName and getURI
This commit is contained in:
@@ -108,12 +108,16 @@ class AnimeUltimeBridge extends BridgeAbstract {
|
||||
}
|
||||
|
||||
public function getName() {
|
||||
$typeFilter = array_search(
|
||||
$this->getInput('type'),
|
||||
self::PARAMETERS[$this->queriedContext]['type']['values']
|
||||
);
|
||||
if(!is_null($this->getInput('type'))){
|
||||
$typeFilter = array_search(
|
||||
$this->getInput('type'),
|
||||
self::PARAMETERS[$this->queriedContext]['type']['values']
|
||||
);
|
||||
|
||||
return 'Latest '.$typeFilter.' - Anime-Ultime Bridge';
|
||||
return 'Latest '.$typeFilter.' - Anime-Ultime Bridge';
|
||||
}
|
||||
|
||||
return parent::getName();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user