diff options
author | Hari Sankar R <hsr@theinglorio.us> | 2012-04-07 23:15:12 +0530 |
---|---|---|
committer | Hari Sankar R <hsr@theinglorio.us> | 2012-04-07 23:15:12 +0530 |
commit | 03a35581c4b0dcb7c20885d4ca807ea7117872cb (patch) | |
tree | fc38d54c16d9f1d1f9f310c9fea2634fd211d0dc /phpBB/includes/ucp/ucp_prefs.php | |
parent | 1808a61fe3e89399aec4ecced36e270faa7d0beb (diff) | |
download | forums-03a35581c4b0dcb7c20885d4ca807ea7117872cb.tar forums-03a35581c4b0dcb7c20885d4ca807ea7117872cb.tar.gz forums-03a35581c4b0dcb7c20885d4ca807ea7117872cb.tar.bz2 forums-03a35581c4b0dcb7c20885d4ca807ea7117872cb.tar.xz forums-03a35581c4b0dcb7c20885d4ca807ea7117872cb.zip |
[ticket/10561] Reverted to phpbb_style_is_active()
Changes made to function name, reverted to old.
PHPBB3-10561
Diffstat (limited to 'phpBB/includes/ucp/ucp_prefs.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_prefs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_prefs.php b/phpBB/includes/ucp/ucp_prefs.php index 5b915824d6..f6fe916d8b 100644 --- a/phpBB/includes/ucp/ucp_prefs.php +++ b/phpBB/includes/ucp/ucp_prefs.php @@ -65,9 +65,9 @@ class ucp_prefs { $data['style'] = $config['default_style']; } - else if (!phpbb_validate_style($data['style'])) + else if (!phpbb_style_is_active($data['style'])) { - $data['style'] = (int) $user->data['user_style']); + $data['style'] = (int) $user->data['user_style']; } $error = validate_data($data, array( |