aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-08-23 23:49:11 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-08-23 23:49:11 +0200
commitd717203af1263e552886251fbee9b718be45f623 (patch)
treef381e51b73b217575e4e016f90bd4fc1242a3f61 /phpBB/includes
parent2845b153d8e86b80c6b9a8c0869474affb277516 (diff)
downloadforums-d717203af1263e552886251fbee9b718be45f623.tar
forums-d717203af1263e552886251fbee9b718be45f623.tar.gz
forums-d717203af1263e552886251fbee9b718be45f623.tar.bz2
forums-d717203af1263e552886251fbee9b718be45f623.tar.xz
forums-d717203af1263e552886251fbee9b718be45f623.zip
[ticket/11769] Fix language issues in the doc blocks
PHPBB3-11769
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_posting.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index aff7129fce..32206df868 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -2604,9 +2604,9 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
// Send Notifications
if (($mode == 'reply' || $mode == 'quote' || $mode == 'post') && $post_approval)
{
- // If a username was supplied or the poster is a guest, we use the supplied username.
- // This way we will use "...post by guest-username..." in notifications,
- // when guest-username was supplied and ommit the username-part otherwise.
+ // If a username was supplied or the poster is a guest, we will use the supplied username.
+ // Doing it this way we can use "...post by guest-username..." in notifications when
+ // "guest-username" is supplied or ommit the username if it is not.
$username = ($username || !$user->data['is_registered']) ? $username : $user->data['username'];
user_notification($mode, $subject, $data['topic_title'], $data['forum_name'], $data['forum_id'], $data['topic_id'], $data['post_id'], $username);
}