|
From: Bart v. B. <ba...@us...> - 2001-11-07 14:45:13
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv16445
Modified Files:
admin_styles.php
Log Message:
Fixed query that wasn't using CONSTANT table name
Index: admin_styles.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_styles.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** admin_styles.php 2001/11/07 11:17:54 1.5
--- admin_styles.php 2001/11/07 14:45:07 1.6
***************
*** 728,732 ****
default:
! $sql = "SELECT themes_id, template_name, style_name FROM phpbb_themes ORDER BY template_name";
if(!$result = $db->sql_query($sql))
{
--- 728,732 ----
default:
! $sql = "SELECT themes_id, template_name, style_name FROM ".THEMES_TABLE." ORDER BY template_name";
if(!$result = $db->sql_query($sql))
{
***************
*** 771,773 ****
}
! ?>
\ No newline at end of file
--- 771,773 ----
}
! ?>
|