1
0
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:
logmanoriginal
2017-02-14 22:36:33 +01:00
parent c4169f1579
commit 512a4f292b
21 changed files with 100 additions and 38 deletions

View File

@@ -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(){