aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/ucp/ucp_prefs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_prefs.php b/phpBB/includes/ucp/ucp_prefs.php
index f6fe916d8b..17d7d23f02 100644
--- a/phpBB/includes/ucp/ucp_prefs.php
+++ b/phpBB/includes/ucp/ucp_prefs.php
@@ -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']))
{