diff options
-rw-r--r-- | phpBB/includes/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 35af3e5de3..10a12f9c6a 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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']) ) { @@ -1049,4 +1049,4 @@ function phpbb_preg_quote($str, $delimiter) return $text; } -?>
\ No newline at end of file +?> |