Skip to content

Commit a816773

Browse files
authored
Merge pull request #84 from magento/hotfix
Fatal error on Login As Customer hotfix.
2 parents 3adfbba + da9915f commit a816773

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)