aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/user.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-12-04 14:03:43 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-06 13:52:11 +0100
commit38f36882177d25e58d5de41060d51f869a20f8d5 (patch)
treed396575f0756259abee04d523cb176324421d653 /phpBB/phpbb/user.php
parent266576c6a4224f4b803040c678020e825a1510b5 (diff)
downloadforums-38f36882177d25e58d5de41060d51f869a20f8d5.tar
forums-38f36882177d25e58d5de41060d51f869a20f8d5.tar.gz
forums-38f36882177d25e58d5de41060d51f869a20f8d5.tar.bz2
forums-38f36882177d25e58d5de41060d51f869a20f8d5.tar.xz
forums-38f36882177d25e58d5de41060d51f869a20f8d5.zip
[ticket/13454] Fix a few issues introduced by overdeleting stuff
PHPBB3-13454
Diffstat (limited to 'phpBB/phpbb/user.php')
-rw-r--r--phpBB/phpbb/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/user.php b/phpBB/phpbb/user.php
index 394cfc0aba..5262e10e87 100644
--- a/phpBB/phpbb/user.php
+++ b/phpBB/phpbb/user.php
@@ -281,7 +281,7 @@ class user extends \phpbb\session
// User has wrong style
if (!$this->style && $style_id == $this->data['user_style'])
{
- $this->data['user_style'] = $config['default_style'];
+ $style_id = $this->data['user_style'] = $config['default_style'];
$sql = 'UPDATE ' . USERS_TABLE . "
SET user_style = $style_id