mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-18 14:22:38 +02:00
bridges: Return parent::getURI by default
This commit is contained in:
@@ -70,15 +70,19 @@ class PickyWallpapersBridge extends BridgeAbstract {
|
||||
}
|
||||
|
||||
public function getURI(){
|
||||
$subcategory = $this->getInput('s');
|
||||
$link = self::URI
|
||||
. $this->getInput('r')
|
||||
. '/'
|
||||
. $this->getInput('c')
|
||||
. '/'
|
||||
. $subcategory;
|
||||
if(!is_null($this->getInput('s')) && !is_null($this->getInput('r')) && !is_null($this->getInput('c'))){
|
||||
$subcategory = $this->getInput('s');
|
||||
$link = self::URI
|
||||
. $this->getInput('r')
|
||||
. '/'
|
||||
. $this->getInput('c')
|
||||
. '/'
|
||||
. $subcategory;
|
||||
|
||||
return $link;
|
||||
return $link;
|
||||
}
|
||||
|
||||
return parent::getURI();
|
||||
}
|
||||
|
||||
public function getName(){
|
||||
|
Reference in New Issue
Block a user