1
0
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:
logmanoriginal
2016-12-17 17:03:09 +01:00
parent d4fb02b0d0
commit f694023f7d
4 changed files with 20 additions and 10 deletions

View File

@@ -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();
}
}