mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
ok, sorry for this. :/
- cleaned up table names/constants git-svn-id: file:///svn/phpbb/trunk@6021 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -219,7 +219,7 @@ class template
|
||||
|
||||
if (isset($user->theme['template_storedb']) && $user->theme['template_storedb'])
|
||||
{
|
||||
$sql = 'SELECT * FROM ' . STYLES_TPLDATA_TABLE . '
|
||||
$sql = 'SELECT * FROM ' . STYLES_TEMPLATE_DATA_TABLE . '
|
||||
WHERE template_id = ' . $user->theme['template_id'] . "
|
||||
AND (template_filename = '" . $db->sql_escape($this->filename[$handle]) . "'
|
||||
OR template_included LIKE '%" . $db->sql_escape($this->filename[$handle]) . ":%')";
|
||||
|
Reference in New Issue
Block a user