Skip to content
Snippets Groups Projects

#Issue 3317706: Wrong parameter order for checkPatchFieldAccess

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -1096,7 +1096,7 @@ protected function updateEntityField(ResourceType $resource_type, EntityInterfac
$destination_field_list = $destination->get($field_name);
$origin_field_list = $origin->get($field_name);
if ($this->checkPatchFieldAccess($destination_field_list, $origin_field_list)) {
if ($this->checkPatchFieldAccess($origin_field_list, $destination_field_list)) {
$destination->set($field_name, $origin_field_list->getValue());
}
}
Loading