Skip to content
Permalink
Browse files

Updated Account.php

  • Loading branch information...
gauravagarwal1001 authored and Amol Chaudhari committed Feb 12, 2019
1 parent 994348f commit d77bc6acaccaecddc4bda3415d268ed21ef94981
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/code/Magento/Sales/Block/Adminhtml/Order/Create/Form/Account.php
@@ -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);
}
}

1 comment on commit d77bc6a

@GeorgeAt90

This comment has been minimized.

Copy link

commented on d77bc6a Apr 3, 2019

I tried to implement this and now i cant even create admin orders!

Please sign in to comment.
You can’t perform that action at this time.