aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-05-15 17:14:25 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-05-15 17:14:25 +0000
commitec4b04ae8288b33c9cb642eefca7dddddda67847 (patch)
tree4005541898899ea58814bd5d9fb29cc046c055c3 /phpBB/ucp.php
parent88f476be53320f2b1222b1302e4452e3ca240b8e (diff)
downloadforums-ec4b04ae8288b33c9cb642eefca7dddddda67847.tar
forums-ec4b04ae8288b33c9cb642eefca7dddddda67847.tar.gz
forums-ec4b04ae8288b33c9cb642eefca7dddddda67847.tar.bz2
forums-ec4b04ae8288b33c9cb642eefca7dddddda67847.tar.xz
forums-ec4b04ae8288b33c9cb642eefca7dddddda67847.zip
The message shouldn't be displayed at all(now), unless there's foul play invlolved.
#10968 git-svn-id: file:///svn/phpbb/trunk@7592 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/ucp.php')
-rwxr-xr-xphpBB/ucp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php
index 923a974b92..c1b9504112 100755
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -90,7 +90,7 @@ switch ($mode)
}
else
{
- $message = $user->lang['LOGOUT_FAILED'];
+ $message = ($user->data['user_id'] == ANONYMOUS) ? $user->lang['LOGOUT_REDIRECT'] : $user->lang['LOGOUT_FAILED'];
}
meta_refresh(3, append_sid("{$phpbb_root_path}index.$phpEx"));