mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/10561] Changes made to function phpbb_style_is_active().
Fixed return type, documented function and, removed style_id from fetch. PHPBB3-10561
This commit is contained in:
@@ -62,7 +62,7 @@ class ucp_prefs
|
||||
if ($submit)
|
||||
{
|
||||
$data['style'] = ($config['override_user_style']) ? $config['default_style'] :
|
||||
(style_verify($data['style']) ? $data['style'] : ((int) $user->data['user_style']));
|
||||
(phpbb_style_is_active($data['style']) ? $data['style'] : ((int) $user->data['user_style']));
|
||||
|
||||
$error = validate_data($data, array(
|
||||
'dateformat' => array('string', false, 1, 30),
|
||||
|
Reference in New Issue
Block a user