Skip to content

Commit

Permalink
Updated Account.php
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav-473 authored and Amol Chaudhari committed Feb 14, 2019
1 parent 994348f commit d77bc6a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -199,7 +199,7 @@ private function extractValuesFromAttributes(array $attributes, int $storeId): a
if (isset($defaultValue) && !isset($formValues[$code])) { if (isset($defaultValue) && !isset($formValues[$code])) {
$formValues[$code] = $defaultValue; $formValues[$code] = $defaultValue;
} }
if ($code === 'group_id' && empty($defaultValue)) { if ($code === 'group_id' && empty($formValues[$code])) {
$formValues[$code] = $this->getDefaultCustomerGroup($storeId); $formValues[$code] = $this->getDefaultCustomerGroup($storeId);
} }
} }
Expand Down

1 comment on commit d77bc6a

@GeorgeAt90
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.