*/ function send_report($report, $report_type='post') {
|
*/ function send_report($report, $report_type='post') {
|
global $db, $lang, $forum, $mybb, $post, $thread, $reputation, $user;
| global $db, $lang, $forum, $mybb, $post, $thread, $reputation, $user, $plugins;
|
$emailsubject = $lang->sprintf($lang->$lang_string_subject, $mybb->settings['bbname']); $emailmessage = $lang->sprintf($lang->$lang_string_message, $mybb->user['username'], $mybb->settings['bbname'], $send_report_subject, $mybb->settings['bburl'], $send_report_url, $report_reason);
| $emailsubject = $lang->sprintf($lang->$lang_string_subject, $mybb->settings['bbname']); $emailmessage = $lang->sprintf($lang->$lang_string_message, $mybb->user['username'], $mybb->settings['bbname'], $send_report_subject, $mybb->settings['bburl'], $send_report_url, $report_reason);
|