aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2011-07-11 19:31:11 +0200
committerJoas Schilling <nickvergessen@gmx.de>2011-07-11 19:31:11 +0200
commitd60ffdd55c4066b8e69c0522c464ec1ada4b0913 (patch)
tree09b80ecd6b3905cf60973502597b45db45c3fd26
parent773561f862e9cf4016a4176454e3fb59489259ac (diff)
downloadforums-d60ffdd55c4066b8e69c0522c464ec1ada4b0913.tar
forums-d60ffdd55c4066b8e69c0522c464ec1ada4b0913.tar.gz
forums-d60ffdd55c4066b8e69c0522c464ec1ada4b0913.tar.bz2
forums-d60ffdd55c4066b8e69c0522c464ec1ada4b0913.tar.xz
forums-d60ffdd55c4066b8e69c0522c464ec1ada4b0913.zip
[ticket/10237] Also display login-box on subscribing
PHPBB3-10237
-rw-r--r--phpBB/includes/functions_display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 391b56ab69..7982b9908d 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -1195,7 +1195,7 @@ function watch_topic_forum($mode, &$s_watching, $user_id, $forum_id, $topic_id,
}
else
{
- if (isset($_GET['unwatch']) && $_GET['unwatch'] == $mode)
+ if ((isset($_GET['unwatch']) && $_GET['unwatch'] == $mode) || (isset($_GET['watch']) && $_GET['watch'] == $mode))
{
login_box();
}