aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2012-04-19 03:38:01 +0200
committerNils Adermann <naderman@naderman.de>2012-04-19 03:51:37 +0200
commit18704215216cf31e8d96058d2df7ef7cf20a3f7b (patch)
treeb675400f569947b816c4ad53fe64ba849033aff7 /phpBB
parent0b7a0fa2d11c4f30d31e36f2c11c574491432d4a (diff)
downloadforums-18704215216cf31e8d96058d2df7ef7cf20a3f7b.tar
forums-18704215216cf31e8d96058d2df7ef7cf20a3f7b.tar.gz
forums-18704215216cf31e8d96058d2df7ef7cf20a3f7b.tar.bz2
forums-18704215216cf31e8d96058d2df7ef7cf20a3f7b.tar.xz
forums-18704215216cf31e8d96058d2df7ef7cf20a3f7b.zip
[ticket/10759] Don't select imageset_id, it's not needed
PHPBB3-10759
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/install/database_update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index c30508dcee..88ebb8209e 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -2425,7 +2425,7 @@ function change_database_data(&$no_updates, $version)
// Get all installed styles
if ($db_tools->sql_table_exists(STYLES_IMAGESET_TABLE))
{
- $sql = 'SELECT s.style_id, t.template_path, t.template_id, t.bbcode_bitfield, t.template_inherits_id, t.template_inherit_path, c.theme_path, c.theme_id, i.imageset_path, i.imageset_id
+ $sql = 'SELECT s.style_id, t.template_path, t.template_id, t.bbcode_bitfield, t.template_inherits_id, t.template_inherit_path, c.theme_path, c.theme_id, i.imageset_path
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . ' c, ' . STYLES_IMAGESET_TABLE . " i
WHERE t.template_id = s.template_id
AND c.theme_id = s.theme_id