mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
Use default style if user doesn't have a theme set (shouldn't happen)
git-svn-id: file:///svn/phpbb/trunk@2145 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
1ffe63e760
commit
c95ae7fb21
@ -255,7 +255,7 @@ function init_userprefs($userdata)
|
||||
//
|
||||
if ( !$board_config['override_user_style'] )
|
||||
{
|
||||
if ( $userdata['user_id'] != ANONYMOUS && isset($userdata['user_style']) )
|
||||
if ( $userdata['user_id'] != ANONYMOUS && $userdata['user_style'] > 0 )
|
||||
{
|
||||
if ( $theme = setup_style($userdata['user_style']) )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user