aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/report.php')
-rw-r--r--phpBB/report.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/report.php b/phpBB/report.php
index 37efec3208..70912d64f1 100644
--- a/phpBB/report.php
+++ b/phpBB/report.php
@@ -82,7 +82,7 @@ if ($report_data['post_reported'])
if ($submit && $reason_id)
{
$sql = 'SELECT *
- FROM ' . REASONS_TABLE . "
+ FROM ' . REPORTS_REASONS_TABLE . "
WHERE reason_id = $reason_id";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);