Browse Source

Mailjet : Correctif nom campagne

develop
Guillaume 2 years ago
parent
commit
80f2515d5a
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      ShopBundle/Controller/Backend/NewsController.php
  2. +0
    -1
      ShopBundle/Services/Order/OrderUtilsReductionTrait.php

+ 1
- 1
ShopBundle/Controller/Backend/NewsController.php View File

@@ -105,7 +105,7 @@ class NewsController extends AdminController
'Email' => $this->getParameter('app.noreply_email'),
'Name' => $this->getParameter('app.site_name')
],
'Subject' => $currentMerchant->getMerchantConfig('email-subject-prefix').' '.$news->getTitle(),
'Subject' => $currentMerchant->getMerchantConfig('email-from-name').' - '.$news->getTitle(),
'TextPart' => $this->renderView('mail/news-text.html.twig', $paramsTemplate),
'HTMLPart' => $this->renderView('mail/news-html.html.twig', $paramsTemplate),
'CustomCampaign' => $news->getTitle(),

+ 0
- 1
ShopBundle/Services/Order/OrderUtilsReductionTrait.php View File

@@ -108,7 +108,6 @@ trait OrderUtilsReductionTrait
$this->utils->addFlash('error', 'error.reductionCredit.alreadyUse');
return false;
}

}

return true;

Loading…
Cancel
Save