diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2009-06-16 14:06:56 +0000 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2009-06-16 14:06:56 +0000 |
commit | d8b0f2f31074b83fffa613e93cf156fd913f74be (patch) | |
tree | 8a375d01e36c7d09a1377049f11ef8fe0927a030 /phpBB/includes | |
parent | ef28393fd4426e1f9dce824810ccb474f80d4988 (diff) | |
download | forums-d8b0f2f31074b83fffa613e93cf156fd913f74be.tar forums-d8b0f2f31074b83fffa613e93cf156fd913f74be.tar.gz forums-d8b0f2f31074b83fffa613e93cf156fd913f74be.tar.bz2 forums-d8b0f2f31074b83fffa613e93cf156fd913f74be.tar.xz forums-d8b0f2f31074b83fffa613e93cf156fd913f74be.zip |
Fix bug #40205 - Wrong message shown to user, when adding bots to friends/foes
Authorised by: acydburn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9597 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/ucp/ucp_zebra.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_zebra.php b/phpBB/includes/ucp/ucp_zebra.php index 50fcbed90e..5ed4db7520 100644 --- a/phpBB/includes/ucp/ucp_zebra.php +++ b/phpBB/includes/ucp/ucp_zebra.php @@ -136,6 +136,10 @@ class ucp_zebra { $user_id_ary[] = $row['user_id']; } + else if ($row['user_id'] != ANONYMOUS) + { + $error[] = $user->lang['NOT_ADDED_' . $l_mode . '_BOTS']; + } else { $error[] = $user->lang['NOT_ADDED_' . $l_mode . '_ANONYMOUS']; |