thrownewFieldException(t('Attempt to create field name %name which is reserved by entity type %type.',array('%name'=>$field['field_name'],'%type'=>$type)));
}
...
...
@@ -387,7 +387,7 @@ function field_update_field($field) {
thrownewFieldException('Attempt to update a non-existent field.');
}
// Use the prior field values for anything not specifically set by the new
// Use the prior field values for anything not specifically set by the new
// field to be sure that all values are set.
$field+=$prior_field;
$field['settings']+=$prior_field['settings'];
...
...
@@ -441,9 +441,9 @@ function field_update_field($field) {
// Clear caches
field_cache_clear(TRUE);
// Invoke external hooks after the cache is cleared for API consistency.