diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2005-10-03 15:44:41 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-10-03 15:44:41 +0000 |
commit | 9439a3f49a0c528782ed9e7d34aee4770e07bdc2 (patch) | |
tree | 0717d4cf31bc17113df727c624d6c5b87e2deb8b /phpBB/report.php | |
parent | ed9bac63e592670fee0c750d80959820b6dca2d4 (diff) | |
download | forums-9439a3f49a0c528782ed9e7d34aee4770e07bdc2.tar forums-9439a3f49a0c528782ed9e7d34aee4770e07bdc2.tar.gz forums-9439a3f49a0c528782ed9e7d34aee4770e07bdc2.tar.bz2 forums-9439a3f49a0c528782ed9e7d34aee4770e07bdc2.tar.xz forums-9439a3f49a0c528782ed9e7d34aee4770e07bdc2.zip |
blabla
git-svn-id: file:///svn/phpbb/trunk@5250 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/report.php')
-rw-r--r-- | phpBB/report.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/phpBB/report.php b/phpBB/report.php index c8441f6efa..3d53d06724 100644 --- a/phpBB/report.php +++ b/phpBB/report.php @@ -14,9 +14,10 @@ define('IN_PHPBB', true); $phpbb_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.'.$phpEx); +include($phpbb_root_path . 'includes/functions_display.'.$phpEx); // Start session management -$user->start(); +$user->session_begin(); $auth->acl($user->data); $user->setup('mcp'); @@ -380,8 +381,11 @@ function report_notification($notify_user, $report_post, $report_data) // do not put in reporters outbox submit_pm('post', $report_data['subject'], '', array(), array(), array( - 'address_list' => array('u' => array($user_id => 'to')), - 'icon_id' => 0, + 'address_list' => array('u' => array($user_id => 'to')), + 'from_user_id' => $user->data['user_id'], + 'from_user_ip' => $user->ip, + 'from_usernae' => $user->data['username'], + 'icon_id' => 0, 'enable_bbcode' => 0, 'enable_html' => 0, 'enable_smilies' => 0, @@ -392,7 +396,7 @@ function report_notification($notify_user, $report_post, $report_data) 'bbcode_uid' => 0, 'attachment_data' => array(), 'filename_data' => array(), - 'message' => $messenger->msg + 'message' => $messenger->msg ), true, false); } } |