121 if (!$id || !$scores["$type-$id"]) {
122 // Determine which fields we need to run through the spam filter.
123 $fields = spam_invoke_module($type, 'filter_fields', $content, $extra);
124 if (!empty($fields) && is_array($fields['main'])) {
125 // TODO: Once content-type groups are implemented, this query will
126 // determine which group to filter the given piece of content with. It
127 // will default to a gid of 0 if undefined.