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