1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/15201] Add casting

PHPBB3-15201
This commit is contained in:
Rubén Calvo
2017-09-08 15:02:29 +02:00
parent 4b1ec6abb7
commit bace8dd31f
2 changed files with 4 additions and 4 deletions

View File

@@ -165,7 +165,7 @@ class style_update_p1 extends \phpbb\db\migration\migration
$this->config->set('default_style', $default_style);
$sql = 'UPDATE ' . USERS_TABLE . ' SET user_style = ' . $default_style;
$sql = 'UPDATE ' . USERS_TABLE . ' SET user_style = ' . (int) $default_style;
$this->sql_query($sql);
}
else