Index: branches/5.3.x/units/links/links_event_handler.php =================================================================== diff -u -N -r15926 -r15937 --- branches/5.3.x/units/links/links_event_handler.php (.../links_event_handler.php) (revision 15926) +++ branches/5.3.x/units/links/links_event_handler.php (.../links_event_handler.php) (revision 15937) @@ -1,6 +1,6 @@ getObject(); // get link object /* @var $object kDBItem */ - $send_params = Array( + $send_params = $object->getEmailParams(Array( 'from_name' => $this->Application->GetVar('ContactFormFullName'), 'from_email' => $this->Application->GetVar('ContactFormEmail'), 'from_subject' => $this->Application->GetVar('ContactFormSubject'), 'message' => $this->Application->GetVar('ContactFormBody'), 'to_linkname' => $object->GetField('Name'), - ); + )); $email_sent = $this->Application->emailUser('LINK.CONTACTFORM', $object->GetDBField('CreatedById'), $send_params); @@ -406,7 +406,7 @@ $object->SetDBField('ReciprocalLinkFound', $link_checked ? LINK_IS_RECIPROCAL : LINK_IS_NOT_RECIPROCAL); if (!$link_checked) { - $this->Application->emailAdmin('LINK.RECIPROCAL.CHECK.FAILED'); + $this->Application->emailAdmin('LINK.RECIPROCAL.CHECK.FAILED', null, $object->getEmailParams()); } } } @@ -451,7 +451,7 @@ } else { $object->DeclineChanges(); - $this->Application->emailAdmin('LINK.RECIPROCAL.CHECK.FAILED'); + $this->Application->emailAdmin('LINK.RECIPROCAL.CHECK.FAILED', null, $object->getEmailParams()); } }