Merge pull request #594 from kilida/patch-1

Duplicate conditional expression in PayPalCredentialManager.php
This commit is contained in:
Jay
2016-06-21 17:42:34 -05:00
committed by GitHub

View File

@@ -96,7 +96,7 @@ class PayPalCredentialManager
$key = $prefix . $suffix;
$userName = null;
while (in_array($key, $arrayPartKeys)) {
if (isset($credArr[$key . ".ClientId"]) && isset($credArr[$key . ".ClientId"])) {
if (isset($credArr[$key . ".ClientId"]) && isset($credArr[$key . ".ClientSecret"])) {
$userName = $key;
$this->credentialHashmap[$userName] = new OAuthTokenCredential(
$credArr[$key . ".ClientId"],