|
@@ -63,7 +63,7 @@ class MemberReport_Notify_Background extends SMF_BackgroundTask
|
|
|
'extra' => serialize(
|
|
|
array(
|
|
|
'report_link' => '?action=moderate;area=reportedmembers;report=' . $this->_details['report_id'], // We don't put $scripturl in these!
|
|
|
- 'user_name' => $this->_details['membername'],
|
|
|
+ 'user_name' => $this->_details['user_name'],
|
|
|
)
|
|
|
),
|
|
|
);
|
|
@@ -112,10 +112,10 @@ class MemberReport_Notify_Background extends SMF_BackgroundTask
|
|
|
foreach ($emails as $this_lang => $recipients)
|
|
|
{
|
|
|
$replacements = array(
|
|
|
- 'MEMBERNAME' => $member_name,
|
|
|
+ 'MEMBERNAME' => $this->_details['user_name'],
|
|
|
'REPORTERNAME' => $this->_details['sender_name'],
|
|
|
- 'PROFILELINK' => $scripturl . '?action=profile;u=' . $this->_details['user_id'],
|
|
|
- 'REPORTLINK' => $scripturl . '?action=moderate;area=reportedmembers;report=' . $this->_details['report_id'],
|
|
|
+ 'PROFILELINK' => $scripturl . '?action=profile;u=' . $this->_details['member_id'],
|
|
|
+ 'REPORTLINK' => $scripturl . '?action=moderate;area=reportedmembers;sa=details;rid=' . $this->_details['report_id'],
|
|
|
'COMMENT' => $this->_details['comment'],
|
|
|
);
|
|
|
|