aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/profile.php')
-rw-r--r--phpBB/profile.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php
index 2d4c4908b8..13d50421f3 100644
--- a/phpBB/profile.php
+++ b/phpBB/profile.php
@@ -91,10 +91,11 @@ function template_select($default)
}
function theme_select($default)
{
- global $db, $lang;
+ global $db, $board_config, $lang;
$sql = "SELECT themes_id, themes_name
FROM " . THEMES_TABLE . "
+ WHERE themes_name LIKE '" . $board_config['default_template'] . "-%'
ORDER BY themes_name";
if($result = $db->sql_query($sql))
{