1
0
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:
Arun S. Sekher
2019-01-13 23:39:04 +04:00
parent df8ff0f5c0
commit dfa8ae8ed5
2 changed files with 14 additions and 5 deletions

View File

@@ -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;
}
}