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
  • Loading branch information
sidolov authored Feb 14, 2019
2 parents a3a994a + b72ee58 commit a41c3ea
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 a41c3ea

Please sign in to comment.