mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-05 22:14:59 +02: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
@ -727,7 +727,7 @@ switch($mode)
|
|||||||
break;
|
break;
|
||||||
default:
|
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))
|
if(!$result = $db->sql_query($sql))
|
||||||
{
|
{
|
||||||
message_die(GENERAL_ERROR, "Could not get style information!", "Error", __LINE__, __FILE__, $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);
|
include('page_footer_admin.'.$phpEx);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user