diff --git a/src/classes/wishthis/User.php b/src/classes/wishthis/User.php index d100d157..3a3312b7 100644 --- a/src/classes/wishthis/User.php +++ b/src/classes/wishthis/User.php @@ -499,7 +499,7 @@ class User public function getEmail(): string { - return $this->email; + return $this->email ?? ''; } public function setEmail(string $email): void