diff --git a/src/LEAccount.php b/src/LEAccount.php index 19e627f..285f8b1 100644 --- a/src/LEAccount.php +++ b/src/LEAccount.php @@ -133,7 +133,7 @@ private function getLEAccountData() { $this->id = isset($post['body']['id']) ? $post['body']['id'] : ''; $this->key = $post['body']['key']; - $this->contact = $post['body']['contact']; + $this->contact = isset($post['body']['contact']) ? $post['body']['contact'] : ''; $this->agreement = isset($post['body']['agreement']) ? $post['body']['agreement'] : ''; $this->initialIp = $post['body']['initialIp']; $this->createdAt = $post['body']['createdAt'];