Improvement in send case notes and routing notifications related to bug 14273

This commit is contained in:
Julio Cesar Laura
2014-04-15 13:22:01 -04:00
parent 8100d1abad
commit d5fa0c950b

View File

@@ -977,7 +977,7 @@ class wsBase
if (trim($aSetup["MESS_ACCOUNT"]) != "") {
$sFrom = "\"" . stripslashes($sFrom) . "\" <" . $aSetup["MESS_ACCOUNT"] . ">";
} else {
if ($aSetup["MESS_ENGINE"] == "MAIL") {
if ($aSetup["MESS_ENGINE"] == "MAIL" && $sFrom != '') {
$sFrom = "\"" . stripslashes($sFrom) . "\"";
} else {
$sFrom = $sFrom . " <info@" . ((isset($_SERVER["HTTP_HOST"]) && $_SERVER["HTTP_HOST"] != "")? $_SERVER["HTTP_HOST"] : "processmaker.com") . ">";