aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2014-05-02 13:16:00 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-04 15:43:13 +0200
commitcc1a304da6c8946cfd3d46fc08548109a8e1c05b (patch)
tree669a6b6158ae615094b329c5d5ca9d5e43fa8270 /phpBB/includes
parentfee4e6193397234afe0de57aa0045b9a11bf8fe5 (diff)
downloadforums-cc1a304da6c8946cfd3d46fc08548109a8e1c05b.tar
forums-cc1a304da6c8946cfd3d46fc08548109a8e1c05b.tar.gz
forums-cc1a304da6c8946cfd3d46fc08548109a8e1c05b.tar.bz2
forums-cc1a304da6c8946cfd3d46fc08548109a8e1c05b.tar.xz
forums-cc1a304da6c8946cfd3d46fc08548109a8e1c05b.zip
[ticket/11942] Edits messages
PHPBB3-11942
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 547ea69e81..d9b935ccc2 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -1653,7 +1653,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
if ($user->data['user_id'] != $poster_id)
{
$log_subject = ($subject) ? $subject : $data['topic_title'];
- add_log('mod', $data['forum_id'], $data['topic_id'], 'LOG_POST_EDITED', $log_subject, (!empty($username)) ? $username : $user->lang['GUEST']);
+ add_log('mod', $data['forum_id'], $data['topic_id'], 'LOG_POST_EDITED', $log_subject, (!empty($username)) ? $username : $user->lang['GUEST'], $data['post_edit_reason']);
}
if (!isset($sql_data[POSTS_TABLE]['sql']))