aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/admin/admin_styles.php4
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
+?>