aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-11-09 12:12:27 +0100
committerAndreas Fischer <bantu@phpbb.com>2012-11-09 12:16:38 +0100
commitb2183c9b705dc5283f3a1c3abbc80331f74e4b72 (patch)
tree417790efa30ce2d663f761bbd9d8181201dd9777 /phpBB/install
parent07e7c475d510a221c9080529647ec432cca038c6 (diff)
downloadforums-b2183c9b705dc5283f3a1c3abbc80331f74e4b72.tar
forums-b2183c9b705dc5283f3a1c3abbc80331f74e4b72.tar.gz
forums-b2183c9b705dc5283f3a1c3abbc80331f74e4b72.tar.bz2
forums-b2183c9b705dc5283f3a1c3abbc80331f74e4b72.tar.xz
forums-b2183c9b705dc5283f3a1c3abbc80331f74e4b72.zip
[ticket/10897] Remove unnecessary string casting.
PHPBB3-10897
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/database_update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 4c94cdf5bd..bbb05e67ec 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -2152,8 +2152,8 @@ function change_database_data(&$no_updates, $version)
if ($is_user)
{
$sql = 'UPDATE ' . BOTS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', array(
- 'bot_agent' => (string) $bot_agent,
- 'bot_ip' => (string) $bot_ip,
+ 'bot_agent' => $bot_agent,
+ 'bot_ip' => $bot_ip,
)) . " WHERE bot_name = '" . $db->sql_escape($bot_name) . "'";
_sql($sql, $errored, $error_ary);