From 3d08e3366eb126d5bfc2fe3d02fc4e31eb43f745 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 8 Mar 2019 18:18:27 +0100 Subject: [PATCH] Incorrect return type --- .../files/lib/data/blacklist/entry/BlacklistEntry.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/blacklist/entry/BlacklistEntry.class.php b/wcfsetup/install/files/lib/data/blacklist/entry/BlacklistEntry.class.php index dac70e12de..0be5fbfa56 100644 --- a/wcfsetup/install/files/lib/data/blacklist/entry/BlacklistEntry.class.php +++ b/wcfsetup/install/files/lib/data/blacklist/entry/BlacklistEntry.class.php @@ -28,7 +28,7 @@ class BlacklistEntry extends DatabaseObject { */ public static function getMatches($username, $email, $ipAddress) { if (BLACKLIST_SFS_USERNAME === 'skip' && BLACKLIST_SFS_EMAIL_ADDRESS === 'skip' && BLACKLIST_SFS_IP_ADDRESS === 'skip') { - return false; + return []; } $conditions = new PreparedStatementConditionBuilder(true, 'OR'); -- 2.20.1