From b945119d29c539140d245271358404d44a6e3e5d Mon Sep 17 00:00:00 2001 From: Simon Tong Date: Wed, 15 Mar 2017 12:22:50 +0000 Subject: [PATCH] Allow empty profile content for anonymous yoti connect --- src/Yoti/YotiClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Yoti/YotiClient.php b/src/Yoti/YotiClient.php index b9bc5fa6..5cefa996 100755 --- a/src/Yoti/YotiClient.php +++ b/src/Yoti/YotiClient.php @@ -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); }