mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 10:34:55 +02:00
bridges: Return parent::getName by default
This commit is contained in:
parent
d93d491d8e
commit
c4169f1579
29 changed files with 145 additions and 57 deletions
|
@ -32,6 +32,10 @@ class BooruprojectBridge extends GelbooruBridge {
|
|||
}
|
||||
|
||||
public function getName(){
|
||||
return static::NAME . ' ' . $this->getInput('i');
|
||||
if(!is_null($this->getInput('i'))){
|
||||
return static::NAME . ' ' . $this->getInput('i');
|
||||
}
|
||||
|
||||
return parent::getName();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue