From 4e630ef1601ef39c7947de7d071fdccf68f52e3b Mon Sep 17 00:00:00 2001 From: Hari Sankar R Date: Mon, 9 Apr 2012 00:33:55 +0530 Subject: [ticket/10561] Casted $config['default_style'] to int PHPBB3-10561 --- phpBB/includes/ucp/ucp_prefs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/ucp/ucp_prefs.php') 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'])) { -- cgit v1.2.1