Skip to content

Commit

Permalink
ENGCOM-4272: [Backport] Fixed #21144 Can't change customer group when…
Browse files Browse the repository at this point in the history
… placing an admin order #21239
  • Loading branch information
sivaschenko authored Feb 15, 2019
2 parents 994348f + 9523243 commit 4741401
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private function extractValuesFromAttributes(array $attributes, int $storeId): a
if (isset($defaultValue) && !isset($formValues[$code])) {
$formValues[$code] = $defaultValue;
}
if ($code === 'group_id' && empty($defaultValue)) {
if ($code === 'group_id' && empty($formValues[$code])) {
$formValues[$code] = $this->getDefaultCustomerGroup($storeId);
}
}
Expand Down

0 comments on commit 4741401

Please sign in to comment.