diff --git a/sites/all/modules/fb_social/fb_social.module b/sites/all/modules/fb_social/fb_social.module index 2c200ac..39de5c7 100644 --- a/sites/all/modules/fb_social/fb_social.module +++ b/sites/all/modules/fb_social/fb_social.module @@ -160,7 +160,9 @@ function fb_social_content_extra_fields($type_name) { $plugin = fb_social_fb_plugin_load($preset->plugin_type); $function = ctools_plugin_get_function($plugin, 'hook_content_extra_fields'); if ($function) { - $extras = $function($preset, $type_name); + $extra = $function($preset, $type_name); + if (is_array($extra) && count($extra)) + $extras = array_merge($extras, $extra); } } }