aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/style.php')
-rw-r--r--phpBB/style.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/style.php b/phpBB/style.php
index 433a41e3e9..7a2ed500c6 100644
--- a/phpBB/style.php
+++ b/phpBB/style.php
@@ -92,7 +92,7 @@ if ($id && $sid)
$sql = 'SELECT *
FROM ' . STYLES_IMAGESET_DATA_TABLE . '
- WHERE imageset_id = ' . $id . "
+ WHERE imageset_id = ' . $theme['imageset_id'] . "
AND image_lang IN('" . $db->sql_escape($user['user_lang']) . "', '')";
$result = $db->sql_query($sql, 3600);