Skip to content
Snippets Groups Projects
Commit 83513d96 authored by Angie Byron's avatar Angie Byron
Browse files

#467558 by yched: Small field API optimization.

parent fd22bf9a
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -239,7 +239,7 @@ function field_sql_storage_field_storage_write($obj_type, $object, $op, $skip_fi
$table_name = _field_sql_storage_tablename($field_name);
$revision_name = _field_sql_storage_revision_tablename($field_name);
$field = field_read_field($field_name);
$field = field_info_field($field_name);
// Leave the field untouched if $object comes with no $field_name property.
// Empty the field if $object->$field_name is NULL or an empty array.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment