From 0fc4cd44440178ee2ccc795c885b7c788fb60cdb Mon Sep 17 00:00:00 2001 From: joshuaruesweg Date: Wed, 3 Jun 2020 16:50:30 +0200 Subject: [PATCH] Fix incorrect email confirm check --- wcfsetup/install/files/lib/data/user/User.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/user/User.class.php b/wcfsetup/install/files/lib/data/user/User.class.php index e4f7560633..e2a4719fab 100644 --- a/wcfsetup/install/files/lib/data/user/User.class.php +++ b/wcfsetup/install/files/lib/data/user/User.class.php @@ -427,7 +427,7 @@ final class User extends DatabaseObject implements IRouteController, IUserConten * @since 5.3 */ public function isEmailConfirmed() { - return empty($this->emailConfirmed); + return $this->emailConfirmed === null; } /** -- 2.20.1