aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-05-15 15:52:37 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-05-15 15:52:37 +0000
commit7e05a3024be7da56b595115e6bbeb116b2f335b9 (patch)
treeaaca17e664bb3f093638c819a60f6161e9c5da15 /phpBB/includes/functions_posting.php
parent51061920d6463b2722d42a5a3eed2b769091ad5e (diff)
downloadforums-7e05a3024be7da56b595115e6bbeb116b2f335b9.tar
forums-7e05a3024be7da56b595115e6bbeb116b2f335b9.tar.gz
forums-7e05a3024be7da56b595115e6bbeb116b2f335b9.tar.bz2
forums-7e05a3024be7da56b595115e6bbeb116b2f335b9.tar.xz
forums-7e05a3024be7da56b595115e6bbeb116b2f335b9.zip
#10942 + cron image into <p></p> tags
git-svn-id: file:///svn/phpbb/trunk@7589 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-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 2cbfd56adc..becd792388 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -1520,7 +1520,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, generate_board_url() . '/viewtopic.' . $phpEx . '?t=' . $data['topic_id'] . '&amp;p=' . $data['post_id'], $username);
+ add_log('mod', $data['forum_id'], $data['topic_id'], 'LOG_POST_EDITED', $log_subject, (!empty($username)) ? $username : $user->lang['GUEST']);
}
if (!isset($sql_data[POSTS_TABLE]['sql']))