1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/10237] Handle watching and unwatching the same way.

Also add some information to the confirm-box (forum_name / topic title)

PHPBB3-10237
This commit is contained in:
Joas Schilling
2011-07-11 19:20:45 +02:00
parent b2a65ac76d
commit 773561f862
4 changed files with 46 additions and 18 deletions

View File

@@ -488,7 +488,7 @@ $s_watching_topic = array(
if (($config['email_enable'] || $config['jab_enable']) && $config['allow_topic_notify'] && $user->data['is_registered'])
{
watch_topic_forum('topic', $s_watching_topic, $user->data['user_id'], $forum_id, $topic_id, $topic_data['notify_status'], $start);
watch_topic_forum('topic', $s_watching_topic, $user->data['user_id'], $forum_id, $topic_id, $topic_data['notify_status'], $start, $topic_data['topic_title']);
// Reset forum notification if forum notify is set
if ($config['allow_forum_notify'] && $auth->acl_get('f_subscribe', $forum_id))