From 27ee45c8f574aaafb54b04b9e41e4c86c5a0bf32 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sat, 21 Jul 2001 00:17:55 +0000 Subject: Some more work on group CP, modified profile to match themes with templates git-svn-id: file:///svn/phpbb/trunk@716 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/profile.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/profile.php') 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)) { -- cgit v1.2.1