Skip to content

Commit d77bc6a

Browse files
gaurav-473Amol Chaudhari
authored andcommitted
Updated Account.php
1 parent 994348f commit d77bc6a

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Sales/Block/Adminhtml/Order/Create/Form

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Block/Adminhtml/Order/Create/Form/Account.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ private function extractValuesFromAttributes(array $attributes, int $storeId): a
199199
if (isset($defaultValue) && !isset($formValues[$code])) {
200200
$formValues[$code] = $defaultValue;
201201
}
202-
if ($code === 'group_id' && empty($defaultValue)) {
202+
if ($code === 'group_id' && empty($formValues[$code])) {
203203
$formValues[$code] = $this->getDefaultCustomerGroup($storeId);
204204
}
205205
}

0 commit comments

Comments
 (0)