Skip to content

Commit

Permalink
ENGCOM-4241: Fixed #21144 Can't change customer group when placing an…
Browse files Browse the repository at this point in the history
… admin order #21145

 - Merge Pull Request #21145 from gauravagarwal1001/magento2:2.3-develop1Pr
 - Merged commits:
   1. 7646850
  • Loading branch information
magento-engcom-team committed Feb 13, 2019
2 parents f211371 + 7646850 commit b72ee58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,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 b72ee58

Please sign in to comment.