diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2012-10-16 10:51:07 -0500 |
---|---|---|
committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2012-10-16 10:51:07 -0500 |
commit | c8b66a26ef4f6ac2a71980c75a13356dcda72dd6 (patch) | |
tree | 2139ad7b5a0af15e712029c7df1d3466c9344dfd /phpBB/index.php | |
parent | a2d6e40f1b7e359b0be87452a01eb3e46b4694e8 (diff) | |
download | forums-c8b66a26ef4f6ac2a71980c75a13356dcda72dd6.tar forums-c8b66a26ef4f6ac2a71980c75a13356dcda72dd6.tar.gz forums-c8b66a26ef4f6ac2a71980c75a13356dcda72dd6.tar.bz2 forums-c8b66a26ef4f6ac2a71980c75a13356dcda72dd6.tar.xz forums-c8b66a26ef4f6ac2a71980c75a13356dcda72dd6.zip |
[ticket/11103] Mark read link if notification has no URL to view it
Other style stuff
PHPBB3-11103
Diffstat (limited to 'phpBB/index.php')
-rw-r--r-- | phpBB/index.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/index.php b/phpBB/index.php index 7f85879d23..3cb49f1a28 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -36,6 +36,11 @@ if (($mark_notification = request_var('mark_notification', 0))) $notification->mark_read(); + if (($redirect = request_var('redirect', ''))) + { + redirect(append_sid($phpbb_root_path . $redirect)); + } + redirect($notification->get_url()); } } |