mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Enrich 'user_forum_post_report' event data set with useful data.
Fix a bug which prevented 'user_forum_post_report' notification email being sent successfully by e107 'notify' handler.
This commit is contained in:
@@ -358,10 +358,11 @@ class forum_notify extends notify
|
||||
}
|
||||
else
|
||||
{
|
||||
$message = $data;
|
||||
$message = $data['notify_message'];
|
||||
}
|
||||
|
||||
$this->send('forum_post_rep', LAN_FORUM_NT_11, $message);
|
||||
$this->send('user_forum_post_report', LAN_FORUM_NT_11, $message);
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user