We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e47ac7d commit b9d5669Copy full SHA for b9d5669
app/code/Magento/Customer/Controller/Adminhtml/Index/Validate.php
@@ -44,6 +44,11 @@ protected function _validateCustomer($response)
44
$data,
45
\Magento\Customer\Api\Data\CustomerInterface::class
46
);
47
+ $submittedData = $this->getRequest()->getParam('customer');
48
+ if (array_key_exists('entity_id', $submittedData)) {
49
+ $entity_id = $submittedData['entity_id'];
50
+ $customer->setId($entity_id);
51
+ }
52
$errors = $this->customerAccountManagement->validate($customer)->getMessages();
53
} catch (\Magento\Framework\Validator\Exception $exception) {
54
/* @var $error Error */
0 commit comments