aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
authorBruno Ais <brunoaiss@gmail.com>2012-02-15 22:03:32 +0000
committerOleg Pudeyev <oleg@bsdpower.com>2012-03-19 08:27:32 -0400
commit18373035c3299e80b2c075cfc3d475c89af3cc73 (patch)
tree252b05ce76838ed3e28076bcd4a54dedfde6b692 /phpBB/report.php
parent6f5c0dddfcd2a1b56fe1e8cf783f48ecfc8561e9 (diff)
downloadforums-18373035c3299e80b2c075cfc3d475c89af3cc73.tar
forums-18373035c3299e80b2c075cfc3d475c89af3cc73.tar.gz
forums-18373035c3299e80b2c075cfc3d475c89af3cc73.tar.bz2
forums-18373035c3299e80b2c075cfc3d475c89af3cc73.tar.xz
forums-18373035c3299e80b2c075cfc3d475c89af3cc73.zip
[feature/save-post-on-report] Changed the name of the column
The name of the column was changed from reported_post AND reported_text to reported_post_text. This change was made by request PHPBB3-10600
Diffstat (limited to 'phpBB/report.php')
-rw-r--r--phpBB/report.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/report.php b/phpBB/report.php
index ab4de68cea..29b46a6211 100644
--- a/phpBB/report.php
+++ b/phpBB/report.php
@@ -71,9 +71,9 @@ if ($post_id)
trigger_error('POST_NOT_EXIST');
}
- $forum_id = (int) $report_data['forum_id'];
- $topic_id = (int) $report_data['topic_id'];
- $reported_text = $report_data['post_text'];
+ $forum_id = (int) $report_data['forum_id'];
+ $topic_id = (int) $report_data['topic_id'];
+ $reported_post_text = $report_data['post_text'];
$sql = 'SELECT *
FROM ' . FORUMS_TABLE . '
@@ -132,7 +132,7 @@ else
trigger_error($message);
}
- $reported_text = $report_data['message_text'];
+ $reported_post_text = $report_data['message_text'];
}
// Submit report?
@@ -159,7 +159,7 @@ if ($submit && $reason_id)
'report_closed' => 0,
'report_time' => (int) time(),
'report_text' => (string) $report_text,
- 'reported_text' => $reported_text,
+ 'reported_post_text' => $reported_post_text,
);
$sql = 'INSERT INTO ' . REPORTS_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary);