Skip to content

Commit 7b610d6

Browse files
committed
fix in abuse check code
1 parent 03e4045 commit 7b610d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ImapAbuseCheck.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,9 @@ public function process($type = 'spam', $limit = false)
278278
if ($db->num_rows() > 0) {
279279
$db->next_record(MYSQL_ASSOC);
280280
$data = $GLOBALS['tf']->accounts->read($db->Record['mail_custid']);
281-
$email = (!isset($data['email_abuse']) || trim($data['email_abuse']) == '') ? $data['email'] : $data['email_abuse'];
281+
$email = (!isset($data['email_abuse']) || trim($data['email_abuse']) == '') ? $data['account_lid'] : $data['email_abuse'];
282282
$server_data = [
283-
'email' => $data['emai'],
283+
'email' => $email,
284284
'status' => $db->Record['mail_status']
285285
];
286286
}

0 commit comments

Comments
 (0)