summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/content.module b/content.module
index 6181d4c..8b89c78 100644
--- a/content.module
+++ b/content.module
@@ -1262,8 +1262,7 @@ function _content_type_info($reset = FALSE) {
}
}
}
- }
- foreach (module_list() as $module) {
+
$module_formatters = module_invoke($module, 'field_formatter_info');
if ($module_formatters) {
foreach ($module_formatters as $name => $formatter_info) {