diff --git a/Models/UserModel.php b/Models/UserModel.php index 499fe17..7c0215b 100644 --- a/Models/UserModel.php +++ b/Models/UserModel.php @@ -19,7 +19,8 @@ final class UserModel $stmt->bindParam("email", $S_email); $stmt->execute(); - return $stmt->fetch()[0] !== 0; + $count = $stmt->fetch()[0]; + return $count != 0; }