diff options
author | Bruno Ais <brunoaiss@gmail.com> | 2012-02-15 22:03:32 +0000 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-03-19 08:27:32 -0400 |
commit | 18373035c3299e80b2c075cfc3d475c89af3cc73 (patch) | |
tree | 252b05ce76838ed3e28076bcd4a54dedfde6b692 /phpBB/includes/mcp/mcp_reports.php | |
parent | 6f5c0dddfcd2a1b56fe1e8cf783f48ecfc8561e9 (diff) | |
download | forums-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/includes/mcp/mcp_reports.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_reports.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_reports.php b/phpBB/includes/mcp/mcp_reports.php index c848175c79..b4756b2600 100644 --- a/phpBB/includes/mcp/mcp_reports.php +++ b/phpBB/includes/mcp/mcp_reports.php @@ -71,7 +71,7 @@ class mcp_reports // closed reports are accessed by report id $report_id = request_var('r', 0); - $sql = 'SELECT r.post_id, r.user_id, r.report_id, r.report_closed, report_time, r.report_text, r.reported_text, rr.reason_title, rr.reason_description, u.username, u.username_clean, u.user_colour + $sql = 'SELECT r.post_id, r.user_id, r.report_id, r.report_closed, report_time, r.report_text, r.reported_post_text, rr.reason_title, rr.reason_description, u.username, u.username_clean, u.user_colour FROM ' . REPORTS_TABLE . ' r, ' . REPORTS_REASONS_TABLE . ' rr, ' . USERS_TABLE . ' u WHERE ' . (($report_id) ? 'r.report_id = ' . $report_id : "r.post_id = $post_id") . ' AND rr.reason_id = r.reason_id @@ -226,7 +226,7 @@ class mcp_reports 'REPORTER_NAME' => get_username_string('username', $report['user_id'], $report['username'], $report['user_colour']), 'U_VIEW_REPORTER_PROFILE' => get_username_string('profile', $report['user_id'], $report['username'], $report['user_colour']), - 'POST_PREVIEW' => $report['reported_text'], + 'POST_PREVIEW' => $report['reported_post_text'], 'POST_SUBJECT' => ($post_info['post_subject']) ? $post_info['post_subject'] : $user->lang['NO_SUBJECT'], 'POST_DATE' => $user->format_date($post_info['post_time']), 'POST_IP' => $post_info['poster_ip'], |