Skip to content
Snippets Groups Projects
Commit 5e2a2d42 authored by Aaron Bauman's avatar Aaron Bauman Committed by Aaron Bauman
Browse files

Issue #3172772 by AaronBauman: PHP Notice for undefined property during auth...

Issue #3172772 by AaronBauman: PHP Notice for undefined property during auth provider authoritzation
parent f8b68b21
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,7 @@ abstract class SalesforceAuthProviderPluginBase extends Salesforce implements Sa
* {@inheritdoc}
*/
public function getCredentials() {
if (!$this->credentials || !$this->credentials->isValid()) {
if (empty($this->credentials) || !$this->credentials->isValid()) {
$pluginDefinition = $this->getPluginDefinition();
$this->credentials = $pluginDefinition['credentials_class']::create($this->configuration);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment