1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-12 19:44:12 +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

@@ -20,7 +20,11 @@ class FourchanBridge extends BridgeAbstract {
));
public function getURI(){
return static::URI . $this->getInput('c') . '/thread/' . $this->getInput('t');
if(!is_null($this->getInput('c')) && !is_null($this->getInput('t'))){
return static::URI . $this->getInput('c') . '/thread/' . $this->getInput('t');
}
return parent::getURI();
}
public function collectData(){