Skip to content
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.

Commit

Permalink
Fixed notice in CurlClient when no appsecret_proof provided
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMystikJonas committed May 7, 2015
1 parent ba6018f commit 5e7b95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kdyby/Facebook/Api/CurlClient.php
Expand Up @@ -214,7 +214,7 @@ public function oauth($url, array $params)
$params['appsecret_proof'] = $this->fb->config->getAppSecretProof($params['access_token']);
}

if ($params['appsecret_proof'] === false) {
if (isset($params['appsecret_proof']) && $params['appsecret_proof'] === false) {
unset($params['appsecret_proof']);
}

Expand Down

0 comments on commit 5e7b95b

Please sign in to comment.