aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/database_update.php')
-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);