diff options
author | Bart van Bragt <bartvb@users.sourceforge.net> | 2001-11-07 14:45:07 +0000 |
---|---|---|
committer | Bart van Bragt <bartvb@users.sourceforge.net> | 2001-11-07 14:45:07 +0000 |
commit | 5668fee57769726005ff66491a6f2a46db63f583 (patch) | |
tree | b346572a4a1c1935bb2823aa4288d811719c11eb /phpBB/admin | |
parent | 7124ca71b774ee337791569c4012a9e3cff14c68 (diff) | |
download | forums-5668fee57769726005ff66491a6f2a46db63f583.tar forums-5668fee57769726005ff66491a6f2a46db63f583.tar.gz forums-5668fee57769726005ff66491a6f2a46db63f583.tar.bz2 forums-5668fee57769726005ff66491a6f2a46db63f583.tar.xz forums-5668fee57769726005ff66491a6f2a46db63f583.zip |
Fixed query that wasn't using CONSTANT table name
git-svn-id: file:///svn/phpbb/trunk@1285 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin')
-rw-r--r-- | phpBB/admin/admin_styles.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/admin/admin_styles.php b/phpBB/admin/admin_styles.php index 3f672ff970..aa7e017e24 100644 --- a/phpBB/admin/admin_styles.php +++ b/phpBB/admin/admin_styles.php @@ -727,7 +727,7 @@ switch($mode) break; default: - $sql = "SELECT themes_id, template_name, style_name FROM phpbb_themes ORDER BY template_name"; + $sql = "SELECT themes_id, template_name, style_name FROM ".THEMES_TABLE." ORDER BY template_name"; if(!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, "Could not get style information!", "Error", __LINE__, __FILE__, $sql); @@ -770,4 +770,4 @@ if(!$HTTP_POST_VARS['send_file']) include('page_footer_admin.'.$phpEx); } -?>
\ No newline at end of file +?> |