aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_queue.php
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2014-04-26 01:18:34 +0200
committerNicofuma <github@nicofuma.fr>2014-04-26 01:18:34 +0200
commit5ec9f40b7898f4b38f5505f3fece18bafae5807c (patch)
tree6feff13c805037a7e32d26703a3cce6e7d38ee68 /phpBB/includes/mcp/mcp_queue.php
parentfe768d460d54d68aeecc392a75a1438b3f3bad34 (diff)
downloadforums-5ec9f40b7898f4b38f5505f3fece18bafae5807c.tar
forums-5ec9f40b7898f4b38f5505f3fece18bafae5807c.tar.gz
forums-5ec9f40b7898f4b38f5505f3fece18bafae5807c.tar.bz2
forums-5ec9f40b7898f4b38f5505f3fece18bafae5807c.tar.xz
forums-5ec9f40b7898f4b38f5505f3fece18bafae5807c.zip
[ticket/12445] Disapproved post: the name of the poster should be in logs
https://tracker.phpbb.com/browse/PHPBB3-12445 PHPBB3-12445
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index 8d998919e5..8a1e7190e9 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -1060,7 +1060,7 @@ class mcp_queue
if ($is_disapproving)
{
$l_log_message = ($log_data['type'] == 'topic') ? 'LOG_TOPIC_DISAPPROVED' : 'LOG_POST_DISAPPROVED';
- add_log('mod', $log_data['forum_id'], $log_data['topic_id'], $l_log_message, $log_data['post_subject'], $disapprove_reason);
+ add_log('mod', $log_data['forum_id'], $log_data['topic_id'], $l_log_message, $log_data['post_subject'], $disapprove_reason, $log_data['post_username']);
}
else
{