1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 00:37:42 +02:00

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
This commit is contained in:
Joas Schilling
2009-06-16 14:06:56 +00:00
parent ef28393fd4
commit d8b0f2f310
3 changed files with 7 additions and 0 deletions

View File

@@ -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'];