Commit d5a525c5 authored by Dries's avatar Dries
Browse files

- Patch #754794 by yched: _field_write_instance() writes useless...

- Patch #754794 by yched: _field_write_instance() writes useless 'entity_type()' info in the serialized 'data' column.'
parent a08c9696
......@@ -764,7 +764,7 @@ function _field_write_instance($instance, $update = FALSE) {
// not have its own column and is not automatically populated when the
// instance is read.
$data = $instance;
unset($data['id'], $data['field_id'], $data['field_name'], $data['bundle'], $data['deleted']);
unset($data['id'], $data['field_id'], $data['field_name'], $data['entity_type'], $data['bundle'], $data['deleted']);
$record = array(
'field_id' => $instance['field_id'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment