Browse Source

[Administration] Communiquer : correctif MailForm

feature/rotating_product
Guillaume Bourgeois 7 months ago
parent
commit
7f4ff8881f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      backend/models/MailForm.php

+ 2
- 2
backend/models/MailForm.php View File

@@ -239,8 +239,8 @@ Me désinscrire : ".$linkUnsubscribe;
if(count($body['Messages']) > 0) {
$response = $mj->post(\Mailjet\Resources::$Email, ['body' => $body]);
}
$success = $response->success() ;
$success = (isset($response) && $response) ? $response->success() : false ;
if(!$success) {
Yii::error($response->getBody(), 'Mailjet');

Loading…
Cancel
Save