From: joshuaruesweg Date: Wed, 3 Jun 2020 14:50:30 +0000 (+0200) Subject: Fix incorrect email confirm check X-Git-Tag: 5.3.0_Alpha_1~182^2~15 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0fc4cd44440178ee2ccc795c885b7c788fb60cdb;p=GitHub%2FWoltLab%2FWCF.git Fix incorrect email confirm check --- 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; } /**