Skip to content
Snippets Groups Projects
Commit 4505018d authored by Shobhit Juyal's avatar Shobhit Juyal Committed by Aaron Bauman
Browse files

Issue #3224032 by shobhit_juyal: Notice: Undefined index: instance_url

parent f0143ac2
No related branches found
No related tags found
1 merge request!40Added check for null value.
......@@ -280,7 +280,7 @@ abstract class SalesforceAuthProviderPluginBase extends Salesforce implements Sa
* {@inheritdoc}
*/
public function getInstanceUrl() {
return $this->getAccessToken()->getExtraParams()['instance_url'];
return $this->getAccessToken()->getExtraParams()['instance_url'] ?? '';
}
/**
......
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