aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification/type/post.php
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2013-11-21 08:11:17 -0800
committerCesar G <prototech91@gmail.com>2013-11-21 08:11:17 -0800
commit44b6f45759485cc33bb71ff50a715f39a8d60089 (patch)
treecf5bb1030b6cbb7fd7a745ce72e57eb3e217f63a /phpBB/phpbb/notification/type/post.php
parent46994e8dfbb3a50aeeb5b02cf850f8a7630b9e95 (diff)
downloadforums-44b6f45759485cc33bb71ff50a715f39a8d60089.tar
forums-44b6f45759485cc33bb71ff50a715f39a8d60089.tar.gz
forums-44b6f45759485cc33bb71ff50a715f39a8d60089.tar.bz2
forums-44b6f45759485cc33bb71ff50a715f39a8d60089.tar.xz
forums-44b6f45759485cc33bb71ff50a715f39a8d60089.zip
[ticket/11484] Display login box for users following email notification link.
The link used for the latest post now uses view=unread so redirecting the user using the value for the e parameter is no longer necessary. PHPBB3-11484
Diffstat (limited to 'phpBB/phpbb/notification/type/post.php')
-rw-r--r--phpBB/phpbb/notification/type/post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/notification/type/post.php b/phpBB/phpbb/notification/type/post.php
index 9d5c7b0a4c..c0ef184a19 100644
--- a/phpBB/phpbb/notification/type/post.php
+++ b/phpBB/phpbb/notification/type/post.php
@@ -234,7 +234,7 @@ class post extends \phpbb\notification\type\base
'TOPIC_TITLE' => htmlspecialchars_decode(censor_text($this->get_data('topic_title'))),
'U_VIEW_POST' => generate_board_url() . "/viewtopic.{$this->php_ext}?p={$this->item_id}#p{$this->item_id}",
- 'U_NEWEST_POST' => generate_board_url() . "/viewtopic.{$this->php_ext}?f={$this->get_data('forum_id')}&t={$this->item_parent_id}&view=unread#unread",
+ 'U_NEWEST_POST' => generate_board_url() . "/viewtopic.{$this->php_ext}?f={$this->get_data('forum_id')}&t={$this->item_parent_id}&e=1&view=unread#unread",
'U_TOPIC' => generate_board_url() . "/viewtopic.{$this->php_ext}?f={$this->get_data('forum_id')}&t={$this->item_parent_id}",
'U_VIEW_TOPIC' => generate_board_url() . "/viewtopic.{$this->php_ext}?f={$this->get_data('forum_id')}&t={$this->item_parent_id}",
'U_FORUM' => generate_board_url() . "/viewforum.{$this->php_ext}?f={$this->get_data('forum_id')}",