mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-14 04:24:05 +02:00
[bridges] Fix conditional checks on getInput
isset($this->getInput('')) does not work
This commit is contained in:
@@ -21,7 +21,7 @@ class GooglePlusPostBridge extends BridgeAbstract
|
||||
public function collectData()
|
||||
{
|
||||
$param=$this->parameters[$queriedContext];
|
||||
if (!isset($this->getInput('username')))
|
||||
if (!$this->getInput('username'))
|
||||
{
|
||||
$this->returnClientError('You must specify a username (?username=...).');
|
||||
}
|
||||
|
Reference in New Issue
Block a user