aboutsummaryrefslogtreecommitdiff
path: root/views/video.views.inc
diff options
context:
space:
mode:
Diffstat (limited to 'views/video.views.inc')
-rw-r--r--views/video.views.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/video.views.inc b/views/video.views.inc
index 4d4cc36..a0c5384 100644
--- a/views/video.views.inc
+++ b/views/video.views.inc
@@ -31,7 +31,7 @@ function video_views_data() {
$data = array();
$data['video']['table']['group'] = t('Video');
$widgets = array('videoftp_widget', 'uploadfield_widget');
- foreach (content_fields () as $field) {
+ foreach (field_info_fields () as $field) {
if ($field['module'] == 'filefield' && isset($field['widget']['type']) && in_array($field['widget']['type'], $widgets)) {
$views_data = content_views_field_views_data($field);
$table_alias = content_views_tablename($field);