diff --git a/views/entityreference.views.inc b/views/entityreference.views.inc index 21ea56d61cb4d22264e618147eacbb62e8e6de04..9df2146376943d1b952635af985c49d42a4bfbb0 100644 --- a/views/entityreference.views.inc +++ b/views/entityreference.views.inc @@ -62,7 +62,7 @@ function entityreference_field_views_data_views_data_alter(&$data, $field) { watchdog( 'entityreference', 'Field %field_name refers to nonexistent entity type %type. You might want to remove this broken field instance. <a href="https://www.drupal.org/docs/7/modules/views/data-fix-field-field-refers-to-nonexistent-entity-type-type">See documentation.</a>', - array('%field_name' => $field['field_name'], '%type' => $entity), + array('%field_name' => $field['field_name'], '%type' => $entity_type), WATCHDOG_WARNING ); continue;