...........
if ($SEND_EMAIL_TO_TECHSUPPORT=="Y" && (strlen($change)>0 || strlen($change_hidden)>0))
{
$arEventFields_support["WHAT_CHANGE"] .= $change_hidden;
//echo "<pre>TICKET_CHANGE_FOR_TECHSUPPORT: "; print_r($arEventFields_support); echo "</pre>";
$arEventFields_support = CTicket::ExecuteEvents('OnBeforeSendMailToSupport', $arEventFields_support, false);
if($arEventFields_support)
{
if (strstr($change, GetMessage("SUP_MARK_CHANGED"))) {
CEvent::Send("GET_RATES",$arSite["ID"], $arEventFields_support);
}
CEvent::Send("TICKET_CHANGE_FOR_TECHSUPPORT",$arSite["ID"],$arEventFields_support);
}
}
.................
|