aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
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
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')
-rw-r--r--phpBB/includes/functions_posting.php2
-rw-r--r--phpBB/language/en/acp/common.php2
2 files changed, 2 insertions, 2 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']))
diff --git a/phpBB/language/en/acp/common.php b/phpBB/language/en/acp/common.php
index 2cd7ef7b64..f2513f647e 100644
--- a/phpBB/language/en/acp/common.php
+++ b/phpBB/language/en/acp/common.php
@@ -551,7 +551,7 @@ $lang = array_merge($lang, array(
'LOG_PM_REPORT_DELETED' => '<strong>Deleted PM report</strong><br />» %s',
'LOG_POST_APPROVED' => '<strong>Approved post</strong><br />» %s',
'LOG_POST_DISAPPROVED' => '<strong>Disapproved post “%1$s” written by “%3$s” for the following reason</strong><br />» %2$s',
- 'LOG_POST_EDITED' => '<strong>Edited post “%1$s” written by</strong><br />» %2$s',
+ 'LOG_POST_EDITED' => '<strong>Edited post “%1$s” written by “%2$s” for the following reason</strong><br />» %3$s',
'LOG_POST_RESTORED' => '<strong>Restored post</strong><br />» %s',
'LOG_REPORT_CLOSED' => '<strong>Closed report</strong><br />» %s',
'LOG_REPORT_DELETED' => '<strong>Deleted report</strong><br />» %s',