瀏覽代碼

MailMailjetNotification : correctif SUBJECT_PREFIX

packProduct
Guillaume 3 年之前
父節點
當前提交
0bd1a0521a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      Notification/MailMailjetNotification.php

+ 2
- 2
Notification/MailMailjetNotification.php 查看文件

@@ -43,13 +43,13 @@ class MailMailjetNotification extends SovMailMailjetNotification
$merchantCurrent,
MerchantSettingDefinition::SETTING_EMAIL_FROM_NAME
);
$emailFromName = isset($params[self::FROM_NAME]) ?? $merchantConfigEmailFromName;
$emailFromName = isset($params[self::FROM_NAME]) ? $params[self::FROM_NAME] : $merchantConfigEmailFromName;

$merchantConfigEmailSubjectPrefix = $this->settingSolver->getSettingValue(
$merchantCurrent,
MerchantSettingDefinition::SETTING_EMAIL_SUBJECT_PREFIX
);
$emailSubjectPrefix = isset($params[self::SUBJECT_PREFIX]) ?? $merchantConfigEmailSubjectPrefix;
$emailSubjectPrefix = isset($params[self::SUBJECT_PREFIX]) ? $params[self::SUBJECT_PREFIX] : $merchantConfigEmailSubjectPrefix;
if ($emailSubjectPrefix && strlen($emailSubjectPrefix)) {
$emailSubjectPrefix .= ' ';
}

Loading…
取消
儲存