aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_main.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2008-10-11 14:31:22 +0000
committerChris Smith <toonarmy@phpbb.com>2008-10-11 14:31:22 +0000
commitc969d4f83f3770bb26cb407c97aaa34f829e935f (patch)
treef246ebd1b6d4ea19687a5ad3a095941547a180d8 /phpBB/includes/ucp/ucp_main.php
parent980cb2e5bb298ca90802dd2f0c31738963514a91 (diff)
downloadforums-c969d4f83f3770bb26cb407c97aaa34f829e935f.tar
forums-c969d4f83f3770bb26cb407c97aaa34f829e935f.tar.gz
forums-c969d4f83f3770bb26cb407c97aaa34f829e935f.tar.bz2
forums-c969d4f83f3770bb26cb407c97aaa34f829e935f.tar.xz
forums-c969d4f83f3770bb26cb407c97aaa34f829e935f.zip
Display a message if no topics or forums are selected when unsubscribing. #34855
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8997 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_main.php')
-rw-r--r--phpBB/includes/ucp/ucp_main.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_main.php b/phpBB/includes/ucp/ucp_main.php
index c2fa50c79e..73e4af8b04 100644
--- a/phpBB/includes/ucp/ucp_main.php
+++ b/phpBB/includes/ucp/ucp_main.php
@@ -237,7 +237,10 @@ class ucp_main
$l_unwatch .= '_TOPICS';
}
$msg = $user->lang['UNWATCHED' . $l_unwatch];
-
+ }
+ else
+ {
+ $msg = $user->lang['NO_WATCHED_SELECTED'];
}
}
else