mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 10:04:54 +02:00
[bridges] Fix conditional checks on getInput
isset($this->getInput('')) does not work
This commit is contained in:
parent
8ed3b02899
commit
4f7fbae861
32 changed files with 68 additions and 68 deletions
|
@ -13,7 +13,7 @@ class NovelUpdatesBridge extends BridgeAbstract{
|
|||
));
|
||||
|
||||
public function collectData(){
|
||||
if (!isset($this->getInput('n')))
|
||||
if (!$this->getInput('n'))
|
||||
$this->returnClientError('You must specify the novel URL (/series/...)');
|
||||
$thread = parse_url($this->getInput('n')) or $this->returnClientError('This URL seems malformed, please check it.');
|
||||
if($thread['host'] !== 'www.novelupdates.com')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue