Преглед на файлове

Merge branch 'develop'

master
Guillaume преди 3 години
родител
ревизия
eab9100fe5
променени са 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…
Отказ
Запис