Skip to content

Commit

Permalink
Allow empty profile content for anonymous yoti connect
Browse files Browse the repository at this point in the history
  • Loading branch information
simonyoti committed Mar 15, 2017
1 parent b1aa94b commit b945119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Yoti/YotiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function getActivityDetails($encryptedConnectToken = null)
$rememberMeId = array_key_exists('remember_me_id', $this->_receipt) ? $this->_receipt['remember_me_id'] : null;

// if no profile return empty ActivityDetails object
if (empty($this->_receipt['profile_content']))
if (empty($this->_receipt['other_party_profile_content']))
{
return new ActivityDetails([], $rememberMeId);
}
Expand Down

0 comments on commit b945119

Please sign in to comment.