mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/10897] Remove unnecessary string casting.
PHPBB3-10897
This commit is contained in:
parent
07e7c475d5
commit
b2183c9b70
1 changed files with 2 additions and 2 deletions
|
@ -2152,8 +2152,8 @@ function change_database_data(&$no_updates, $version)
|
||||||
if ($is_user)
|
if ($is_user)
|
||||||
{
|
{
|
||||||
$sql = 'UPDATE ' . BOTS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', array(
|
$sql = 'UPDATE ' . BOTS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', array(
|
||||||
'bot_agent' => (string) $bot_agent,
|
'bot_agent' => $bot_agent,
|
||||||
'bot_ip' => (string) $bot_ip,
|
'bot_ip' => $bot_ip,
|
||||||
)) . " WHERE bot_name = '" . $db->sql_escape($bot_name) . "'";
|
)) . " WHERE bot_name = '" . $db->sql_escape($bot_name) . "'";
|
||||||
|
|
||||||
_sql($sql, $errored, $error_ary);
|
_sql($sql, $errored, $error_ary);
|
||||||
|
|
Loading…
Add table
Reference in a new issue