mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 20:08:55 +00:00
Fixed query that wasn't using CONSTANT table name
git-svn-id: file:///svn/phpbb/trunk@1285 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
7124ca71b7
commit
5668fee577
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue