mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -255,7 +255,7 @@ function init_userprefs($userdata)
|
||||||
//
|
//
|
||||||
if ( !$board_config['override_user_style'] )
|
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']) )
|
if ( $theme = setup_style($userdata['user_style']) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue