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:
@@ -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']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user