Incorrect return type
authorAlexander Ebert <ebert@woltlab.com>
Fri, 8 Mar 2019 17:18:27 +0000 (18:18 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 8 Mar 2019 17:18:27 +0000 (18:18 +0100)
wcfsetup/install/files/lib/data/blacklist/entry/BlacklistEntry.class.php

index dac70e12de5738f01a56a65d8e4c91c36fa98bdd..0be5fbfa56c38c3f489269d549d7c3b78e6f6c2d 100644 (file)
@@ -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');