Skip to content

Commit

Permalink
Merge pull request #411 from mageplaza/2.4-develop
Browse files Browse the repository at this point in the history
2.4 develop
  • Loading branch information
HuyPhuc98 authored Nov 1, 2023
2 parents 54dd5e9 + a0adfc2 commit 3f60615
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Block/Adminhtml/AbandonedCart/Edit/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public function createOptions(array $options)
*/
public function getEmailTemplateOptions()
{
$this->emailTemplate->setPath('mpsmtp_abandoned_cart_email_template');
$this->emailTemplate->setPath('mpsmtp_abandoned_cart_email_templates');

return $this->createOptions($this->emailTemplate->toOptionArray());
}
Expand Down
2 changes: 1 addition & 1 deletion Plugin/Model/Template/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Config
*/
public function afterGetAvailableTemplates(EmailConfig $subject, $templates)
{
$key = array_search('mpsmtp_abandoned_cart_email_template', array_column($templates, 'value'));
$key = array_search('mpsmtp_abandoned_cart_email_templates', array_column($templates, 'value'));
unset($templates[$key]);

return $templates;
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "mageplaza/module-smtp",
"description": "SMTP Extension for Magento 2 helps the owner of store simply install SMTP (Simple Mail Transfer Protocol) server which transmits the messages into codes or numbers",
"require": {
"mageplaza/module-core": "^1.5.4"
"mageplaza/module-core": "^1.5.5"
},
"type": "magento2-module",
"version": "4.7.8",
"version": "4.7.9",
"license": "proprietary",
"authors": [
{
Expand Down

0 comments on commit 3f60615

Please sign in to comment.