} else {
            if ($settings['useCategoryPattern'] != 1) {
                return FALSE;
            }