diff options
-rw-r--r-- | modules/field/field.crud.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/field/field.crud.inc b/modules/field/field.crud.inc index f6c743c0a..904e69d26 100644 --- a/modules/field/field.crud.inc +++ b/modules/field/field.crud.inc @@ -1105,7 +1105,7 @@ function field_purge_instance($instance) { function field_purge_field($field) { $instances = field_read_instances(array('field_id' => $field['id']), array('include_deleted' => 1)); if (count($instances) > 0) { - throw new FieldException("Attempt to purge a field that still has instances."); + throw new FieldException("Attempt to purge a field, @field_name that still has instances.", array('@field_name' => $field['field_name'])); } db_delete('field_config') |