this is what is curently in my code
if($resp && list($subj,$body)=db_fetch_row($resp)){ $body = str_replace("%ticket", $ticket->getExtId(),$body); $body = str_replace("%name", $ticket->getName(),$body); $body = str_replace("%email", $ticket->getEmail(),$body); $body = str_replace("%subject", $ticket->getSubject(),$body); $body = str_replace("%dept", $dept?$dept->getName():'',$body); $body = str_replace("%message",$var,$body); $body = str_replace("%url", $cfg->getBaseUrl(),$body); $sentlist=array();
Must I replace this current code or just add what you have posted