Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ticket/8743] Include poster´s name in mail notifications #624

Merged
merged 1 commit into from
Oct 17, 2012

Conversation

nickvergessen
Copy link
Contributor

@@ -2585,7 +2586,8 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
// Send Notifications
if (($mode == 'reply' || $mode == 'quote' || $mode == 'post') && $post_approval)
{
user_notification($mode, $subject, $data['topic_title'], $data['forum_name'], $data['forum_id'], $data['topic_id'], $data['post_id']);
$username = ($username) ? $username : $user->data['username'];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$username = $username ?: $user->data['username'];

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Olympus should work with php 4.3

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, didn't notice that

@callumacrae
Copy link
Contributor

Looks good.

p added a commit to p/phpbb3 that referenced this pull request Oct 17, 2012
…ympus

* nickvergessen/ticket/8743:
  [ticket/8743] Include poster´s name in mail notifications
p added a commit to p/phpbb3 that referenced this pull request Oct 17, 2012
* develop-olympus:
  [ticket/8743] Include poster´s name in mail notifications
@p
Copy link
Contributor

p commented Oct 17, 2012

Tested with new topics in a watched forum, guests and registered posters.

@p p merged commit 9915ed5 into phpbb:develop-olympus Oct 17, 2012
@nickvergessen nickvergessen deleted the ticket/8743 branch April 10, 2014 11:26
EXreaction added a commit to phpbb/phpbb-app that referenced this pull request Aug 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants