aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorHeshan Wanigasooriya <heshanmw@gmail.com>2011-01-13 02:37:51 +0000
committerHeshan Wanigasooriya <heshanmw@gmail.com>2011-01-13 02:37:51 +0000
commitc7474ecfeb5036e568c940b629accd6a3d038b09 (patch)
tree466fade7c89188eeb74ac61aa138e05cbefb9764 /views
parentac967cb60f30724dcc908679322271645b8ccfe6 (diff)
downloadvideo-c7474ecfeb5036e568c940b629accd6a3d038b09.tar.gz
video-c7474ecfeb5036e568c940b629accd6a3d038b09.tar.bz2
#1024822 by hadsie. [Patch] Class attribute in forms is an array in D7 and Fatal error: Call to undefined function content_fields() D7
Diffstat (limited to 'views')
-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);