diff options
| author | Henry Sudhof <kellanved@phpbb.com> | 2008-08-21 15:41:12 +0000 |
|---|---|---|
| committer | Henry Sudhof <kellanved@phpbb.com> | 2008-08-21 15:41:12 +0000 |
| commit | f56391d5f7d2170397759e26962925635e6a8263 (patch) | |
| tree | fdbdd1c77ed85f7fcc5b7510de5c172948ff22bf /phpBB/includes/functions_posting.php | |
| parent | 7e28be59684bf391c1cc58c480f7ed7dfba0f093 (diff) | |
| download | forums-f56391d5f7d2170397759e26962925635e6a8263.tar forums-f56391d5f7d2170397759e26962925635e6a8263.tar.gz forums-f56391d5f7d2170397759e26962925635e6a8263.tar.bz2 forums-f56391d5f7d2170397759e26962925635e6a8263.tar.xz forums-f56391d5f7d2170397759e26962925635e6a8263.zip | |
as per evil3, some more anti-CSRF
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8775 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
| -rw-r--r-- | phpBB/includes/functions_posting.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 843eac50ee..fd682bfcbc 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -1271,8 +1271,8 @@ function user_notification($mode, $subject, $topic_title, $forum_name, $forum_id 'U_FORUM' => generate_board_url() . "/viewforum.$phpEx?f=$forum_id", 'U_TOPIC' => generate_board_url() . "/viewtopic.$phpEx?f=$forum_id&t=$topic_id", 'U_NEWEST_POST' => generate_board_url() . "/viewtopic.$phpEx?f=$forum_id&t=$topic_id&p=$post_id&e=$post_id", - 'U_STOP_WATCHING_TOPIC' => generate_board_url() . "/viewtopic.$phpEx?f=$forum_id&t=$topic_id&unwatch=topic", - 'U_STOP_WATCHING_FORUM' => generate_board_url() . "/viewforum.$phpEx?f=$forum_id&unwatch=forum", + 'U_STOP_WATCHING_TOPIC' => generate_board_url() . "/viewtopic.$phpEx?uid={$addr['user_id']}&f=$forum_id&t=$topic_id&unwatch=topic", + 'U_STOP_WATCHING_FORUM' => generate_board_url() . "/viewforum.$phpEx?uid={$addr['user_id']}&f=$forum_id&unwatch=forum", )); $messenger->send($addr['method']); |
