aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2013-08-03 17:30:28 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2013-08-03 17:30:28 +0200
commit71ababe6fb1648c9cb286c8c84e939a36a35cbbf (patch)
treeb32d3cf0269c8c847e297c69cfa119130daa4219 /phpBB/report.php
parent78623bf2ff3bf101d22abd839a743d9088968ff5 (diff)
downloadforums-71ababe6fb1648c9cb286c8c84e939a36a35cbbf.tar
forums-71ababe6fb1648c9cb286c8c84e939a36a35cbbf.tar.gz
forums-71ababe6fb1648c9cb286c8c84e939a36a35cbbf.tar.bz2
forums-71ababe6fb1648c9cb286c8c84e939a36a35cbbf.tar.xz
forums-71ababe6fb1648c9cb286c8c84e939a36a35cbbf.zip
[ticket/11763] Add missing variable when reporting a PM to avoid SQL Error
PHPBB3-11763
Diffstat (limited to 'phpBB/report.php')
-rw-r--r--phpBB/report.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/phpBB/report.php b/phpBB/report.php
index c9ca57ecbe..5081f90ad1 100644
--- a/phpBB/report.php
+++ b/phpBB/report.php
@@ -139,9 +139,10 @@ else
$reported_post_text = $report_data['message_text'];
$reported_post_bitfield = $report_data['bbcode_bitfield'];
- $reported_post_enable_bbcode = $report_data['reported_post_enable_bbcode'];
- $reported_post_enable_smilies = $report_data['reported_post_enable_smilies'];
- $reported_post_enable_magic_url = $report_data['reported_post_enable_magic_url'];
+ $reported_post_uid = $report_data['bbcode_uid'];
+ $reported_post_enable_bbcode = $report_data['enable_bbcode'];
+ $reported_post_enable_smilies = $report_data['enable_smilies'];
+ $reported_post_enable_magic_url = $report_data['enable_magic_url'];
}
if ($config['enable_post_confirm'] && !$user->data['is_registered'])