Skip to content

Commit 274f7f2

Browse files
authored
group_id overridden if set
group_id overridden to default group if set.
1 parent 2e7f039 commit 274f7f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Model/CustomerExtractor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function extract(
8080
$customerData = $customerForm->compactData($customerData);
8181

8282
$allowedAttributes = $customerForm->getAllowedAttributes();
83-
$isGroupIdEmpty = isset($allowedAttributes['group_id']);
83+
$isGroupIdEmpty = !isset($allowedAttributes['group_id']);
8484

8585
$customerDataObject = $this->customerFactory->create();
8686
$this->dataObjectHelper->populateWithArray(

0 commit comments

Comments
 (0)