diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2006-10-02 15:11:40 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-10-02 15:11:40 +0000 |
| commit | cc4a0a2f7a02f909735d265f4f199f9736c30a48 (patch) | |
| tree | aa984be5c8fca4b1f05d7fa755b2f3d382a89cf7 /phpBB/includes/acp/acp_bots.php | |
| parent | fc76c94ab14993f98e0bbbf8b26150886ce69352 (diff) | |
| download | forums-cc4a0a2f7a02f909735d265f4f199f9736c30a48.tar forums-cc4a0a2f7a02f909735d265f4f199f9736c30a48.tar.gz forums-cc4a0a2f7a02f909735d265f4f199f9736c30a48.tar.bz2 forums-cc4a0a2f7a02f909735d265f4f199f9736c30a48.tar.xz forums-cc4a0a2f7a02f909735d265f4f199f9736c30a48.zip | |
consistent acp layout regarding backlinks and messages.
git-svn-id: file:///svn/phpbb/trunk@6428 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_bots.php')
| -rw-r--r-- | phpBB/includes/acp/acp_bots.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_bots.php b/phpBB/includes/acp/acp_bots.php index 5e633aaee2..2dbcc463e9 100644 --- a/phpBB/includes/acp/acp_bots.php +++ b/phpBB/includes/acp/acp_bots.php @@ -143,7 +143,7 @@ class acp_bots $bot_row['bot_ip'] = str_replace(' ', '', $bot_row['bot_ip']); // Make sure the admin is not adding a bot with an user agent similar to his one - if ($bot_row['bot_agent'] && substr($user->data['session_browser'], 0, 149) === substr($bot_row['bot_agent'])) + if ($bot_row['bot_agent'] && substr($user->data['session_browser'], 0, 149) === substr($bot_row['bot_agent'], 0, 149)) { $error[] = $user->lang['ERR_BOT_AGENT_MATCHES_UA']; } @@ -165,7 +165,7 @@ class acp_bots if (!$group_row) { - trigger_error($user->lang['NO_GROUP'] . adm_back_link($this->u_action . "&id=$bot_id&action=$action"), E_USER_WARNING); + trigger_error($user->lang['NO_BOT_GROUP'] . adm_back_link($this->u_action . "&id=$bot_id&action=$action"), E_USER_WARNING); } $user_id = user_add(array( |
