Skip to content

Commit 492acab

Browse files
committed
MDVA-275: Emails from admin being sent out using default config’s email, not the specific store email
1 parent 3e3f35e commit 492acab

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Wishlist/Controller/Index

1 file changed

+2
-1
lines changed

app/code/Magento/Wishlist/Controller/Index/Send.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,9 @@ public function execute()
185185
$sharingCode = $wishlist->getSharingCode();
186186

187187
try {
188+
$storeId = $this->storeManager->getStore()->getStoreId();
189+
188190
foreach ($emails as $email) {
189-
$storeId = $this->storeManager->getStore()->getStoreId();
190191
$transport = $this->_transportBuilder->setTemplateIdentifier(
191192
$this->scopeConfig->getValue(
192193
'wishlist/email/email_template',

0 commit comments

Comments
 (0)