bugfix/HOR-2820

This commit is contained in:
Paula Quispe
2017-03-08 16:52:30 -04:00
parent 219d2d034e
commit c3022f0d58

View File

@@ -5216,11 +5216,12 @@ class Cases
} }
$aConfiguration = ($aTaskInfo['TAS_EMAIL_SERVER_UID'] != '') ? $aConfiguration = ($aTaskInfo['TAS_EMAIL_SERVER_UID'] != '') ?
$eServer->getEmailServer($aTaskInfo['TAS_EMAIL_SERVER_UID'], true) : $eServer->getEmailServerDefault(); $eServer->getEmailServer($aTaskInfo['TAS_EMAIL_SERVER_UID'], true) : $eServer->getEmailServerDefault();
$aConfiguration['SMTPSecure'] = $aConfiguration['SMTPSECURE'];
$msgError = ''; $msgError = '';
if (empty($aConfiguration)) { if (empty($aConfiguration)) {
$msgError = G::LoadTranslation('ID_THE_DEFAULT_CONFIGURATION'); $msgError = G::LoadTranslation('ID_THE_DEFAULT_CONFIGURATION');
$aConfiguration['MESS_ENGINE'] = ''; $aConfiguration['MESS_ENGINE'] = '';
} else {
$aConfiguration['SMTPSecure'] = $aConfiguration['SMTPSECURE'];
} }
if ($aTaskInfo['TAS_NOT_EMAIL_FROM_FORMAT']) { if ($aTaskInfo['TAS_NOT_EMAIL_FROM_FORMAT']) {
$fromName = $aConfiguration['MESS_FROM_NAME']; $fromName = $aConfiguration['MESS_FROM_NAME'];