Sfoglia il codice sorgente

Mailjet : Correctif nom campagne

develop
Guillaume 3 anni fa
parent
commit
80f2515d5a
2 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. +1
    -1
      ShopBundle/Controller/Backend/NewsController.php
  2. +0
    -1
      ShopBundle/Services/Order/OrderUtilsReductionTrait.php

+ 1
- 1
ShopBundle/Controller/Backend/NewsController.php Vedi 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 Vedi File

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

}

return true;

Loading…
Annulla
Salva