[GooglePlusPostBridge] fix uninitialized $param

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-28 00:32:16 +02:00
parent 2047955f06
commit a4fd7b8b98
1 changed files with 1 additions and 0 deletions

View File

@ -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=...).');