From 56c960c34a17746beeec455fc225428360d5d91d Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sun, 17 Jun 2007 23:59:04 +0000 Subject: fixed some issues with the installer, and also made it so that you can delete/disable users again --- lib/preferences.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lib/preferences.php') diff --git a/lib/preferences.php b/lib/preferences.php index ac8c9e50..6b603863 100644 --- a/lib/preferences.php +++ b/lib/preferences.php @@ -439,9 +439,15 @@ function init_preferences() { } // end while /* Set the Theme mojo */ - if (strlen($results['theme_name']) > 0) { + if (strlen($results['theme']) > 0) { $results['theme_path'] = '/themes/' . $results['theme_name']; } + // Default to the classic theme if we don't get anything from their + // preferenecs because we're going to want at least something otherwise + // the page is going to be really ugly + else { + $results['theme_path'] = '/themes/classic'; + } Config::set_by_array($results,1); -- cgit