aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/session.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r--phpBB/includes/session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 0f6544b9f9..62d100156d 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -842,7 +842,7 @@ class user extends session
);
$db->sql_query('UPDATE ' . STYLES_CSS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $sql_ary) . '
- WHERE theme_id = ' . $style);
+ WHERE theme_id = ' . $this->theme['primary']['theme_id']);
unset($sql_ary);
}