mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-07 00:56:34 +02:00
[bridges] Fix conditional checks on getInput
isset($this->getInput('')) does not work
This commit is contained in:
@@ -12,7 +12,7 @@ class FourchanBridge extends BridgeAbstract{
|
||||
|
||||
public function collectData(){
|
||||
|
||||
if (!isset($this->getInput('t')))
|
||||
if (!$this->getInput('t'))
|
||||
$this->returnClientError('You must specify the thread URL (?t=...)');
|
||||
|
||||
$thread = parse_url($this->getInput('t')) or $this->returnClientError('This URL seems malformed, please check it.');
|
||||
|
Reference in New Issue
Block a user