Skip to content
Snippets Groups Projects
Commit b9da36d9 authored by Elber Rodrigues's avatar Elber Rodrigues Committed by Jonathan Sacksick
Browse files

Issue #3317411 by Cryt1c, elber: Wrong parameter order in checkPatchFieldAccess.

parent e87aac65
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ final class CartUpdateItemResource extends CartResourceBase {
$parsed_field_item = $parsed_entity->get($field_name);
$original_field_item = $commerce_order_item->get($field_name);
if ($this->inner->checkPatchFieldAccess($parsed_field_item, $original_field_item)) {
if ($this->inner->checkPatchFieldAccess($original_field_item, $parsed_field_item)) {
$commerce_order_item->set($field_name, $parsed_field_item->getValue());
}
$field_names[] = $field_name;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment