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 917d6c1 commit 568e35cCopy full SHA for 568e35c
app/code/Magento/Customer/Model/Plugin/UpdateCustomer.php
@@ -53,7 +53,7 @@ public function beforeSave(
53
CustomerInterface $customer,
54
?string $passwordHash = null
55
): array {
56
- $customerSessionId = $this->userContext->getUserType() === self::USER_TYPE_CUSTOMER ?
+ $customerSessionId = $this->userContext->getUserType() === $this->userContext::USER_TYPE_CUSTOMER ?
57
$this->userContext->getUserId() : 0;
58
$customerId = (int)$this->request->getParam('customerId');
59
$bodyParams = $this->request->getBodyParams();
0 commit comments