1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/10561] Casted $config['default_style'] to int

PHPBB3-10561
This commit is contained in:
Hari Sankar R
2012-04-09 00:33:55 +05:30
parent 03a35581c4
commit 4e630ef160
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ class ucp_prefs
{
if ($config['override_user_style'])
{
$data['style'] = $config['default_style'];
$data['style'] = (int) $config['default_style'];
}
else if (!phpbb_style_is_active($data['style']))
{