diff options
| author | Tom Beddard <subblue@users.sourceforge.net> | 2005-12-11 22:14:39 +0000 |
|---|---|---|
| committer | Tom Beddard <subblue@users.sourceforge.net> | 2005-12-11 22:14:39 +0000 |
| commit | ca4026013182ee19d4beab268bdb040b1d99f974 (patch) | |
| tree | c4703c5879faa1ed53143dcbf2769c54eb835d62 /phpBB/style.php | |
| parent | 85b55fa7015a191de910cfd235503219adb3bd07 (diff) | |
| download | forums-ca4026013182ee19d4beab268bdb040b1d99f974.tar forums-ca4026013182ee19d4beab268bdb040b1d99f974.tar.gz forums-ca4026013182ee19d4beab268bdb040b1d99f974.tar.bz2 forums-ca4026013182ee19d4beab268bdb040b1d99f974.tar.xz forums-ca4026013182ee19d4beab268bdb040b1d99f974.zip | |
theme_name field missing from the query getting the database style content
git-svn-id: file:///svn/phpbb/trunk@5328 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/style.php')
| -rw-r--r-- | phpBB/style.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/style.php b/phpBB/style.php index eff6566c55..73d4662ee1 100644 --- a/phpBB/style.php +++ b/phpBB/style.php @@ -60,7 +60,7 @@ if (!empty($_GET['id']) && !empty($_GET['sid'])) if ($user = $db->sql_fetchrow($result)) { - $sql = "SELECT s.style_id, c.theme_data, c.theme_path, c.theme_mtime, i.imageset_path, t.template_path + $sql = "SELECT s.style_id, c.theme_data, c.theme_path, c.theme_name, c.theme_mtime, i.imageset_path, t.template_path FROM {$table_prefix}styles s, {$table_prefix}styles_template t, {$table_prefix}styles_theme c, {$table_prefix}styles_imageset i WHERE s.style_id = $id AND t.template_id = s.template_id @@ -84,7 +84,7 @@ if (!empty($_GET['id']) && !empty($_GET['sid'])) header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time() + 3600)); header('Content-type: text/css'); - + // Parse Theme Data $replace = array( '{T_THEME_PATH}' => "{$phpbb_root_path}styles/" . $theme['theme_path'] . '/theme', |
