Duplicate conditional expression in PayPalCredentialManager.php

Looks like this should be `ClientSecret`?
This commit is contained in:
kilida
2016-06-21 17:52:09 -04:00
committed by GitHub
parent a284bb6d71
commit 7131cd9f3c

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"],