[GooglePlusPostBridge] fix uninitialized $param
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
2047955f06
commit
a4fd7b8b98
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ class GooglePlusPostBridge extends BridgeAbstract
|
|||
|
||||
public function collectData()
|
||||
{
|
||||
$param=$this->parameters[$queriedContext];
|
||||
if (!isset($param['username']['value']))
|
||||
{
|
||||
$this->returnClientError('You must specify a username (?username=...).');
|
||||
|
|
Loading…
Reference in a new issue