bridges: Return parent::getName by default

This commit is contained in:
logmanoriginal 2017-02-14 22:20:55 +01:00
parent d93d491d8e
commit c4169f1579
29 changed files with 145 additions and 57 deletions

View file

@ -46,6 +46,10 @@ class GoComicsBridge extends BridgeAbstract {
}
public function getName(){
return $this->getInput('comicname') . ' - GoComics';
if(!is_null($this->getInput('comicname'))){
return $this->getInput('comicname') . ' - GoComics';
}
return parent::getName();
}
}