Skip to content

Commit da9915f

Browse files
Fatal error on Login As Customer hotfix.
1 parent 3adfbba commit da9915f

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/LoginAsCustomer/Controller/Adminhtml/Login

1 file changed

+2
-2
lines changed

app/code/Magento/LoginAsCustomer/Controller/Adminhtml/Login/Login.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ public function execute()
109109

110110
$user = $this->authSession->getUser();
111111
$login->generate($user->getId());
112-
$customerStoreId = $this->storeManager->getStore();
112+
$store = $this->storeManager->getStore();
113113

114-
if (null === $customerStoreId) {
114+
if (null === $store) {
115115
$store = $this->storeManager->getDefaultStoreView();
116116
}
117117

0 commit comments

Comments
 (0)