mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-26 09:34:46 +02:00
bridges: Return parent::getURI by default
This commit is contained in:
@@ -28,7 +28,11 @@ class BooruprojectBridge extends GelbooruBridge {
|
||||
const PIDBYPAGE = 20;
|
||||
|
||||
public function getURI(){
|
||||
return 'http://' . $this->getInput('i') . '.booru.org/';
|
||||
if(!is_null($this->getInput('i'))){
|
||||
return 'http://' . $this->getInput('i') . '.booru.org/';
|
||||
}
|
||||
|
||||
return parent::getURI();
|
||||
}
|
||||
|
||||
public function getName(){
|
||||
|
Reference in New Issue
Block a user