Heacy rewrite/cleanup:
[mailer.git] / inc / purge / purge-inact.php
index 45b4da7dc6c0313ba025be36fcbcf06268553f22..ad663cc4f0f591e92f313caddf13eaf3539e3c61 100644 (file)
@@ -54,7 +54,7 @@ if (isAutopurgeInactiveEnabled()) {
        // Init userid exclusion
        $excludeSql = '';
        $excludedUserids = runFilterChain('config_userid_exclusion_sql', array());
-       if (count($excludedUserids) > 0) {
+       if (isFilledArray($excludedUserids)) {
                // Exclude all
                $excludeSql = ' AND `userid` NOT IN (' . implode(', ', $excludedUserids) . ')';
        } // END - if